- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 16 for publishToMavenLocal (0.59 sec)
-
platforms/software/maven/src/main/java/org/gradle/api/publish/maven/tasks/PublishToMavenLocal.java
/** * Publishes a {@link org.gradle.api.publish.maven.MavenPublication} to the Maven Local repository. * * @since 1.4 */ @DisableCachingByDefault(because = "Not worth caching") public abstract class PublishToMavenLocal extends AbstractPublishToMaven { private final Cached<MavenNormalizedPublication> normalizedPublication = Cached.of(this::computeNormalizedPublication);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 14:02:46 UTC 2023 - 2.7K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/maven-publish/conditional-publishing/groovy/build.gradle
} onlyIf("publishing binary to the external repository, or binary and sources to the internal one") { predicate.get() } } tasks.withType(PublishToMavenLocal) { def predicate = provider { publication == publishing.publications.binaryAndSources } onlyIf("publishing binary and sources") { predicate.get() } } // end::task-config[]
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 2.2K bytes - Viewed (0) -
platforms/software/maven/src/integTest/groovy/org/gradle/api/publish/maven/MavenPublishBasicIntegTest.groovy
} """ succeeds 'publish', 'publishToMavenLocal' buildFile.text = buildFile.text.replace("1.0", "2.0") def repoModule = javaLibrary(mavenRepo.module('group', 'root', '2.0')) def localModule = javaLibrary(localM2Repo.module('group', 'root', '2.0')) when: succeeds 'publish', 'publishToMavenLocal' then: repoModule.assertPublished()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 14:02:46 UTC 2023 - 14.9K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/maven-publish/conditional-publishing/kotlin/build.gradle.kts
} onlyIf("publishing binary to the external repository, or binary and sources to the internal one") { predicate.get() } } tasks.withType<PublishToMavenLocal>().configureEach { val predicate = provider { publication == publishing.publications["binaryAndSources"] } onlyIf("publishing binary and sources") { predicate.get() } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 2.3K bytes - Viewed (0) -
platforms/software/maven/src/integTest/groovy/org/gradle/api/publish/maven/MavenPublishCoordinatesIntegTest.groovy
artifactId 'custom' version '2.2' } } } """ when: succeeds 'publishToMavenLocal' then: "jar is published to maven local repository" repoModule.assertNotPublished() localModule.assertPublished() when: succeeds 'publish'
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 24 06:54:47 UTC 2023 - 8.1K bytes - Viewed (0) -
platforms/documentation/docs/src/docs/userguide/running-builds/tutorial/part4_gradle_plugins.adoc
... Publishing tasks ---------------- publish - Publishes all publications produced by this project. publishToMavenLocal - Publishes all Maven publications produced by this project to the local Maven cache. ---- A new set of publishing tasks are now available called `publish`, and `publishToMavenLocal`. Similarly, the new tasks from the Maven Publish plugin are now available in IntelliJ in the Gradle right-hand pane.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Apr 13 11:29:59 UTC 2024 - 8.7K bytes - Viewed (0) -
platforms/software/maven/src/test/groovy/org/gradle/api/publish/maven/plugins/MavenPublishPluginTest.groovy
publishTasks.last().repository.is(repo2) publishTasks.last().name == "publishTestPublicationToOtherRepository" } List<PublishToMavenLocal> getPublishLocalTasks() { project.tasks.withType(PublishToMavenLocal).sort { it.name } } List<PublishToMavenRepository> getPublishTasks() { def allTasks = project.tasks.withType(PublishToMavenRepository).sort { it.name }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 14:02:46 UTC 2023 - 6.7K bytes - Viewed (0) -
platforms/software/maven/src/main/java/org/gradle/api/publish/maven/plugins/MavenPublishPlugin.java
import org.gradle.api.publish.maven.internal.publication.MavenPublicationInternal; import org.gradle.api.publish.maven.tasks.GenerateMavenPom; import org.gradle.api.publish.maven.tasks.PublishToMavenLocal; import org.gradle.api.publish.maven.tasks.PublishToMavenRepository; import org.gradle.api.publish.plugins.PublishingPlugin; import org.gradle.api.publish.tasks.GenerateModuleMetadata;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 14:02:46 UTC 2023 - 14.2K bytes - Viewed (0) -
test_docs.sh
# It requires Python to run. # Install the packages with the following command: # pip install mkdocs mkdocs-material mkdocs-redirects set -ex # Test generating the javadoc jars ./gradlew publishToMavenLocal -DRELEASE_SIGNING_ENABLED=false # Generate the API docs ./gradlew dokkaHtmlMultiModule mv ./build/dokka/htmlMultiModule docs/4.x # Copy in special files that GitHub wants in the project root.
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Wed Apr 17 13:52:16 UTC 2024 - 718 bytes - Viewed (0) -
platforms/software/maven/src/integTest/groovy/org/gradle/api/publish/maven/SamplesMavenPublishIntegrationTest.groovy
and: def fileRepo = maven(sampleDir.file("build/repo")) def module = fileRepo.module("org.gradle.sample", "quickstart", "1.0") when: succeeds 'publishToMavenLocal' then: "jar is published to maven local repository" module.assertNotPublished() localModule.assertPublishedAsJavaModule() where: dsl << ['groovy', 'kotlin'] }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 14:02:46 UTC 2023 - 8.2K bytes - Viewed (0)