Skip to content

Commit

Permalink
Fix Maven/Sonatype publication (#56)
Browse files Browse the repository at this point in the history
We were improperly configured to publish to our internal Maven packages.
We've removed the internal publication configuration to allow us to use
the [default behavior] of the [gradle-maven-publish-plugin]:

> Without any further configuration the plugin has two tasks. publish
> which will upload to Maven Central (through Sonatype OSSRH) by default...


[default behavior]: https://github.com/vanniktech/gradle-maven-publish-plugin#where-to-upload-to
[gradle-maven-publish-plugin]: https://github.com/vanniktech/gradle-maven-publish-plugin
  • Loading branch information
twyatt authored Apr 22, 2021
1 parent 9ad170e commit 2b58f15
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 27 deletions.
1 change: 0 additions & 1 deletion coroutines/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ plugins {
}

apply(from = rootProject.file("gradle/jacoco.gradle.kts"))
apply(from = rootProject.file("gradle/publish.gradle.kts"))

kotlin {
explicitApi()
Expand Down
1 change: 0 additions & 1 deletion encoding/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ plugins {
}

apply(from = rootProject.file("gradle/jacoco.gradle.kts"))
apply(from = rootProject.file("gradle/publish.gradle.kts"))

kotlin {
explicitApi()
Expand Down
1 change: 0 additions & 1 deletion functional/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ plugins {
}

apply(from = rootProject.file("gradle/jacoco.gradle.kts"))
apply(from = rootProject.file("gradle/publish.gradle.kts"))

kotlin {
explicitApi()
Expand Down
20 changes: 0 additions & 20 deletions gradle/publish.gradle.kts

This file was deleted.

1 change: 0 additions & 1 deletion logging/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ plugins {
}

apply(from = rootProject.file("gradle/jacoco.gradle.kts"))
apply(from = rootProject.file("gradle/publish.gradle.kts"))

kotlin {
explicitApi()
Expand Down
1 change: 0 additions & 1 deletion temporal/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ plugins {
}

apply(from = rootProject.file("gradle/jacoco.gradle.kts"))
apply(from = rootProject.file("gradle/publish.gradle.kts"))

kotlin {
explicitApi()
Expand Down
2 changes: 0 additions & 2 deletions test/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ plugins {
id("com.vanniktech.maven.publish")
}

apply(from = rootProject.file("gradle/publish.gradle.kts"))

kotlin {
explicitApi()

Expand Down

0 comments on commit 2b58f15

Please sign in to comment.