- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for binaryRepo (0.4 sec)
-
platforms/documentation/docs/src/snippets/developingPlugins/customTask/groovy/buildSrc/src/main/java/org/myorg/BinaryRepositoryVersionPlugin.java
// tag::snippet[] public class BinaryRepositoryVersionPlugin implements Plugin<Project> { public void apply(Project project) { BinaryRepositoryExtension extension = project.getExtensions().create("binaryRepo", BinaryRepositoryExtension.class); project.getTasks().register("latestArtifactVersion", LatestArtifactVersion.class, task -> { task.getCoordinates().set(extension.getCoordinates());
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 619 bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/developingPlugins/customTask/kotlin/buildSrc/src/main/java/org/myorg/BinaryRepositoryVersionPlugin.java
// tag::snippet[] public class BinaryRepositoryVersionPlugin implements Plugin<Project> { public void apply(Project project) { BinaryRepositoryExtension extension = project.getExtensions().create("binaryRepo", BinaryRepositoryExtension.class); project.getTasks().register("latestArtifactVersion", LatestArtifactVersion.class, task -> { task.getCoordinates().set(extension.getCoordinates());
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 619 bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/developingPlugins/customTask/kotlin/build.gradle.kts
import org.myorg.LatestArtifactVersion // tag::plugin-extension[] plugins { id("org.myorg.binary-repository-version") } binaryRepo { coordinates = "commons-lang:commons-lang" serverUrl = "http://repo2.myorg.org/maven2" } // end::plugin-extension[] // tag::direct-task-register[] tasks.register<LatestArtifactVersion>("latestVersionMavenCentral") { coordinates = "commons-lang:commons-lang"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 655 bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/developingPlugins/customTask/groovy/build.gradle
import org.myorg.LatestArtifactVersion // tag::plugin-extension[] plugins { id 'org.myorg.binary-repository-version' } binaryRepo { coordinates = 'commons-lang:commons-lang' serverUrl = 'http://repo2.myorg.org/maven2' } // end::plugin-extension[] // tag::direct-task-register[] tasks.register('latestVersionMavenCentral', LatestArtifactVersion) { coordinates = 'commons-lang:commons-lang'
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 654 bytes - Viewed (0)