- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 15 for MavenLocal (0.24 sec)
-
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/maven/MavenLocalRepoResolveIntegrationTest.groovy
given: def globalRepo = mavenLocal("globalArtifactRepo") def userRepo = mavenLocal("userArtifactRepo") m2.generateGlobalSettingsFile(globalRepo).generateUserSettingsFile(userRepo) def moduleA = userRepo.module('group', 'projectA', '1.2').publish() globalRepo.module('group', 'projectA', '1.2').publishWithChangedContent() when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jan 09 01:09:32 UTC 2024 - 12.2K bytes - Viewed (0) -
subprojects/core-api/src/main/java/org/gradle/api/artifacts/dsl/RepositoryHandler.java
*/ MavenArtifactRepository mavenLocal(); /** * Adds a repository which looks in the local Maven cache for dependencies. The name of the repository is * {@value org.gradle.api.artifacts.ArtifactRepositoryContainer#DEFAULT_MAVEN_LOCAL_REPO_NAME}. * * <p>Examples:</p> * <pre class='autoTested'> * repositories { * mavenLocal() * } * </pre> * <p>
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 09 03:42:11 UTC 2024 - 13.8K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/dsl/DefaultRepositoryHandler.java
} @Override public MavenArtifactRepository mavenLocal() { return addRepository(repositoryFactory.createMavenLocalRepository(), DEFAULT_MAVEN_LOCAL_REPO_NAME); } @Override public MavenArtifactRepository mavenLocal(Action<? super MavenArtifactRepository> action) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Mar 28 15:16:47 UTC 2024 - 11.6K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ResolveConfigurationRepositoriesBuildOperationIntegrationTest.groovy
DIRS: null ] ] } private static String mavenLocalRepoBlock() { "repositories { mavenLocal() }" } private static Map expectedMavenLocalRepo() { [ name: 'MavenLocal', type: 'MAVEN', properties: [ ARTIFACT_URLS: [], AUTHENTICATED: false,
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 24 06:54:47 UTC 2023 - 22.2K bytes - Viewed (0) -
platforms/core-execution/file-watching/src/integTest/groovy/org/gradle/internal/watch/WatchedDirectoriesFileSystemWatchingIntegrationTest.groovy
assertWatchedHierarchies([projectDir]) where: repositoryType | artifactFileProperty "maven" | "artifactFile" "mavenLocal" | "artifactFile" "ivy" | "jarFile" } def "does not watch mavenLocal when not declared and dependency is copied into cache"() { server.start() def mavenRepository = maven("repo")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 03 13:50:33 UTC 2024 - 15.2K bytes - Viewed (0) -
platforms/extensibility/plugin-use/src/integTest/groovy/org/gradle/plugin/repository/PluginManagementDslSpec.groovy
repositories { gradlePluginPortal() jcenter() google() mavenCentral() mavenLocal() } } """ expect: executer.expectDocumentedDeprecationWarning "The RepositoryHandler.jcenter() method has been deprecated. " +
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Mar 28 15:16:47 UTC 2024 - 10.2K bytes - Viewed (0) -
platforms/software/build-init/src/test/groovy/org/gradle/buildinit/plugins/internal/BuildScriptBuilderGroovyTest.groovy
// Add support for the Kotlin language id 'org.jetbrains.kotlin.jvm' version '1.3.41' } """) } def "can add repositories"() { given: builder.repositories().mavenLocal("Use maven local") builder.repositories().maven("Use another repo as well", "https://somewhere") builder.repositories().maven(null, "https://somewhere/2")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Oct 18 14:16:33 UTC 2023 - 16.2K bytes - Viewed (0) -
platforms/software/build-init/src/test/groovy/org/gradle/buildinit/plugins/internal/BuildScriptBuilderKotlinTest.groovy
// Add support for the Kotlin language id("org.jetbrains.kotlin.jvm") version "1.3.41" } """) } def "can add repositories"() { given: builder.repositories().mavenLocal("Use maven local") builder.repositories().maven("Use another repo as well", "https://somewhere") builder.repositories().maven(null, "https://somewhere/2")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Oct 18 14:16:33 UTC 2023 - 16.1K bytes - Viewed (0) -
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/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)