aboutsummaryrefslogtreecommitdiff
path: root/buildSrc/src/main/kotlin/Publishing.kt
diff options
context:
space:
mode:
Diffstat (limited to 'buildSrc/src/main/kotlin/Publishing.kt')
-rw-r--r--buildSrc/src/main/kotlin/Publishing.kt14
1 files changed, 0 insertions, 14 deletions
diff --git a/buildSrc/src/main/kotlin/Publishing.kt b/buildSrc/src/main/kotlin/Publishing.kt
index 6844ad7..3db911f 100644
--- a/buildSrc/src/main/kotlin/Publishing.kt
+++ b/buildSrc/src/main/kotlin/Publishing.kt
@@ -44,20 +44,6 @@ fun MavenPom.configureMavenCentralMetadata(project: Project) {
}
}
-fun configureBintrayPublication(rh: RepositoryHandler, project: Project) {
- rh.maven {
- val user = "kotlin"
- val repo = "kotlinx"
- val name = "kotlinx.atomicfu"
- url = URI("https://api.bintray.com/maven/$user/$repo/$name/;publish=0;override=0")
-
- credentials {
- username = project.findProperty("bintrayUser") as? String ?: System.getenv("BINTRAY_USER")
- password = project.findProperty("bintrayApiKey") as? String ?: System.getenv("BINTRAY_API_KEY")
- }
- }
-}
-
fun mavenRepositoryUri(): URI {
// TODO -SNAPSHOT detection can be made here as well
val repositoryId: String? = System.getenv("libs.repository.id")