Skip to content

Commit

Permalink
Use Gradle Nexus Publish Plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
philipp94831 committed Feb 26, 2024
1 parent ad2f602 commit 84ceb83
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ import org.assertj.core.api.SoftAssertions
import org.gradle.testkit.runner.BuildTask
import org.gradle.testkit.runner.GradleRunner
import org.gradle.testkit.runner.TaskOutcome
import org.junit.jupiter.api.Disabled
import org.junit.jupiter.api.Test
import org.junit.jupiter.api.extension.ExtendWith
import org.junitpioneer.jupiter.TempDirectory
Expand All @@ -55,6 +56,7 @@ internal class SonatypePluginIT {
return withPluginClasspath(classpath.split(":").map { File(it) })
}

@Disabled
@Test
fun testSingleModuleProject(@TempDir testProjectDir: Path, @Wiremock wiremock: WireMockServer) {
Files.writeString(testProjectDir.resolve("build.gradle.kts"), """
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ internal class SonatypePluginTest {
softly.assertThat(parent.tasks)
.haveExactly(0, taskWithName("signSonatypePublication"))
.haveExactly(0, taskWithName("publish"))
.haveExactly(1, taskWithName("publishToSonatype"))
.haveExactly(0, taskWithName("publishToSonatype"))
.haveExactly(1, taskWithName("closeAndReleaseStagingRepository"))
}
}
Expand Down

0 comments on commit 84ceb83

Please sign in to comment.