- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of about 10,000 for grails (0.14 sec)
-
platforms/documentation/docs/src/snippets/buildlifecycle/taskExecutionEvents/groovy/build.gradle
tasks.register('ok') tasks.register('broken') { dependsOn ok doLast { throw new RuntimeException('broken') } } gradle.taskGraph.beforeTask { Task task -> println "executing $task ..." } gradle.taskGraph.afterTask { Task task, TaskState state -> if (state.failure) { println "FAILED" } else { println "done" }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 370 bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/tutorial/gradleProperties/groovy/init.gradle
// tag::gradle-properties[] settingsEvaluated { settings -> // Using the API, provides a lazy Provider<String> println settings.providers.gradleProperty('gradlePropertiesProp').get() // Using Groovy dynamic names println settings.gradlePropertiesProp // Using Groovy dynamic array notation on `settings` println settings['gradlePropertiesProp'] }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 401 bytes - Viewed (0) -
platforms/documentation/docs/src/samples/android-application/groovy/app/build.gradle
id('com.android.application') version '8.3.0' } repositories { google() mavenCentral() } android { compileSdkVersion 30 defaultConfig { applicationId 'org.gradle.samples' namespace 'org.gradle.samples' minSdkVersion 16 targetSdkVersion 30 versionCode 1 versionName '1.0' testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner' }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Apr 06 02:21:34 UTC 2024 - 1011 bytes - Viewed (0) -
platforms/documentation/docs/src/samples/incubating/build-organization/publishing-convention-plugins/groovy/convention-plugins/build.gradle
// tag::apply[] // tag::publish[] plugins { id 'groovy-gradle-plugin' // end::apply[] id 'maven-publish' id 'java' // tag::apply[] } // end::apply[] group = 'com.myorg.conventions' version = '1.0' publishing { repositories { maven { // change to point to your repo, e.g. http://my.org/repo url = layout.buildDirectory.dir("repo") } } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 832 bytes - Viewed (0) -
platforms/documentation/docs/src/samples/build-organization/multi-project-with-convention-plugins/groovy/buildSrc/build.gradle
// tag::apply[] plugins { id 'groovy-gradle-plugin' } // end::apply[] // tag::repositories-and-dependencies[] repositories { gradlePluginPortal() // so that external plugins can be resolved in dependencies section } dependencies { implementation 'com.github.spotbugs.snom:spotbugs-gradle-plugin:5.2.1' testImplementation platform("org.spockframework:spock-bom:2.2-groovy-3.0")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 546 bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/java/toolchain-management/groovy/settings.gradle
plugins { id 'org.gradle.toolchains.foojay-resolver' version '0.8.0' } import java.util.Optional import javax.inject.Inject apply plugin: MadeUpPlugin // tag::toolchain-management[] toolchainManagement { jvm { // <1> javaRepositories { repository('foojay') { // <2> resolverClass = org.gradle.toolchains.foojay.FoojayToolchainResolver } repository('made_up') { // <3>
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jan 12 16:22:45 UTC 2024 - 1.4K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/tutorial/manifest/groovy/build.gradle
} version = '1.0' // tag::add-to-manifest[] jar { manifest { attributes("Implementation-Title": "Gradle", "Implementation-Version": archiveVersion) } } // end::add-to-manifest[] // tag::custom-manifest[] def sharedManifest = java.manifest { attributes("Implementation-Title": "Gradle", "Implementation-Version": version) } tasks.register('fooJar', Jar) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 1.2K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/valueProviders/externalProcessValueSource/groovy/build.gradle
import org.gradle.api.provider.ValueSource import org.gradle.api.provider.ValueSourceParameters import java.nio.charset.Charset // tag::value-source[] abstract class GitVersionValueSource implements ValueSource<String, ValueSourceParameters.None> { @Inject abstract ExecOperations getExecOperations() String obtain() { ByteArrayOutputStream output = new ByteArrayOutputStream() execOperations.exec {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 795 bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/tasks/incrementalBuild-incrementalBuildAdvanced/groovy/build.gradle
} // end::disable-up-to-date-checks[] // tag::git-clone[] tasks.register("cloneGradleProfiler", GitClone) { destinationDir = layout.buildDirectory.dir("gradle-profiler") // <3> remoteUri = "https://github.com/gradle/gradle-profiler.git" commitId = "d6c18a21ca6c45fd8a9db321de4478948bdf801b" } // end::git-clone[] tasks.named('build') { dependsOn 'processTemplates', 'processTemplates2'
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 3.1K bytes - Viewed (0) -
platforms/enterprise/enterprise-plugin-performance/src/templates/root/build.gradle
* limitations under the License. */ // We want to double check that a build failure is // only caused by failing test executions gradle.buildFinished { result -> buildDir.mkdirs() if(result.failure) { def unexpectedFailure = (result.failure instanceof org.gradle.execution.MultipleBuildFailures && result.failure.causes.every { cause -> def failureMessage = cause?.cause?.cause?.message
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Jul 17 10:38:06 UTC 2023 - 1.3K bytes - Viewed (0)