- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 41 for MavenLocal (0.16 sec)
-
platforms/documentation/docs/src/docs/userguide/dep-man/01-core-dependency-management/declaring_repositories.adoc
[[sec:case-for-maven-local]] == The case for mavenLocal() As a general advice, you should avoid adding `mavenLocal()` as a repository. There are different issues with using `mavenLocal()` that you should be aware of: * Maven uses it as a cache, not a repository, meaning it can contain partial modules.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Dec 07 01:37:51 UTC 2023 - 43.2K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/artifacts/defineRepository/groovy/build.gradle
repositories { mavenCentral() } // end::maven-central[] // tag::maven-google[] repositories { google() } // end::maven-google[] // tag::maven-local[] repositories { mavenLocal() } // end::maven-local[] // tag::maven-like-repo[] repositories { maven { url "http://repo.mycompany.com/maven2" } } // end::maven-like-repo[]
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 6.4K bytes - Viewed (0) -
platforms/documentation/docs/src/docs/userguide/running-builds/introduction/plugin_basics.adoc
plugins { `maven-publish` } publishing { publications { create<MavenPublication>("mavenJava") { from(components["java"]) } } repositories { mavenLocal() } } ---- 3. *Apply your plugin:* when you want to use the plugin, include the plugin ID and version in the `plugins{}` block of the build file. + [source,kotlin] ---- // Apply the plugin
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Mar 18 00:36:58 UTC 2024 - 5.9K bytes - Viewed (0) -
platforms/software/build-init/src/main/java/org/gradleinternal/buildinit/plugins/internal/maven/Maven2Gradle.java
configurePublishing(scriptBuilder, packagesSources(this.rootProject), testsJarTaskGenerated, packagesJavadocs(this.rootProject)); scriptBuilder.repositories().mavenLocal(null); Set<String> repoSet = new LinkedHashSet<>(); getRepositoriesForModule(this.rootProject, repoSet); for (String repo : repoSet) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Mar 14 15:23:34 UTC 2024 - 27.8K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/dsl/DefaultRepositoryHandlerTest.groovy
MavenArtifactRepository repository = Mock(TestMavenArtifactRepository) 1 * repositoryFactory.createMavenLocalRepository() >> repository repository.getName() >> "name" then: handler.mavenLocal().is(repository) } public void createIvyRepositoryUsingClosure() { when: def repository = Mock(TestIvyArtifactRepository) { getName() >> "name" }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Jan 25 18:02:33 UTC 2024 - 17.1K bytes - Viewed (0) -
platforms/documentation/docs/src/docs/userguide/dep-man/06-publishing/publishing_maven.adoc
[[publishing_maven:relocation]] == Publishing Maven relocation information
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Feb 23 03:39:56 UTC 2024 - 21.3K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheDependencyResolutionFeaturesIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 33K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/AbstractIntegrationSpec.groovy
return new MavenFileRepository(repo) } public MavenFileRepository maven(Object repo) { return new MavenFileRepository(file(repo)) } public MavenLocalRepository mavenLocal(Object repo) { return new MavenLocalRepository(file(repo)) } protected configureRepositoryCredentials(String username, String password, String repositoryName = "maven") {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 11 09:07:53 UTC 2024 - 32.9K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/verification/DependencyVerificationIntegrityCheckIntegTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Feb 02 07:31:22 UTC 2024 - 41.4K bytes - Viewed (0) -
platforms/software/build-init/src/main/java/org/gradle/buildinit/plugins/internal/BuildScriptBuilder.java
super("repositories"); this.builder = builder; } @Override public void mavenLocal(String comment) { add(new MethodInvocation(comment, new MethodInvocationExpression("mavenLocal"))); } @Override public void mavenCentral(@Nullable String comment) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Dec 21 12:02:29 UTC 2023 - 90K bytes - Viewed (0)