- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for showRepositories (0.75 sec)
-
platforms/documentation/docs/src/snippets/initScripts/plugins/tests-kotlin/usePluginsInInitScripts.kotlin.sample.conf
executable: gradle args: showRepositories flags: "--quiet --init-script=init.gradle.kts"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 139 bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/initScripts/plugins/tests-groovy/usePluginsInInitScripts.groovy.sample.conf
executable: gradle args: showRepositories flags: "--quiet --init-script=init.gradle"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 135 bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/initScripts/plugins/groovy/build.gradle
import groovy.transform.Immutable // tag::show-repos-task[] repositories{ mavenCentral() } @Immutable class RepositoryData { String name URI url } tasks.register('showRepositories') { def repositoryData = repositories.collect { new RepositoryData(it.name, it.url) } doLast { repositoryData.each { println "repository: ${it.name} ('${it.url}')" } } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 431 bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/initScripts/plugins/kotlin/build.gradle.kts
import java.net.URI // tag::show-repos-task[] repositories{ mavenCentral() } data class RepositoryData(val name: String, val url: URI) tasks.register("showRepositories") { val repositoryData = repositories.withType<MavenArtifactRepository>().map { RepositoryData(it.name, it.url) } doLast { repositoryData.forEach { println("repository: ${it.name} ('${it.url}')") } } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 443 bytes - Viewed (0) -
platforms/documentation/docs/src/docs/userguide/authoring-builds/other/init_scripts.adoc
==== [source.multi-language-sample,kotlin] ---- > gradle --init-script init.gradle.kts -q showRepositories include::{snippetsPath}/initScripts/plugins/tests-common/usePluginsInInitScripts.out[] ---- [source.multi-language-sample,groovy] ---- > gradle --init-script init.gradle -q showRepositories include::{snippetsPath}/initScripts/plugins/tests-common/usePluginsInInitScripts.out[] ----
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 23 05:36:09 UTC 2024 - 8.2K bytes - Viewed (0)