From 3667dc45c887a0cae68996668e49c7cfd0dfba5e Mon Sep 17 00:00:00 2001 From: Niels van Velzen Date: Wed, 13 May 2020 11:45:23 +0200 Subject: [PATCH] Change naming --- android/build.gradle.kts | 2 +- build.gradle.kts | 3 ++- library/build.gradle.kts | 2 +- model/build.gradle.kts | 2 +- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/android/build.gradle.kts b/android/build.gradle.kts index 3e3572a9..2a66d3f9 100644 --- a/android/build.gradle.kts +++ b/android/build.gradle.kts @@ -38,7 +38,7 @@ dependencies { // Because of limitations in the android plugin // the publishing definition should be inside the "afterEvaluate" block afterEvaluate { - publishing.publications.create("maven") { + publishing.publications.create("default") { // Should be the same as the build type from(components["release"]) } diff --git a/build.gradle.kts b/build.gradle.kts index fc345aef..56a6c7d9 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -29,7 +29,8 @@ allprojects { } publishing.repositories.maven { - url = uri("https://api.bintray.com/maven/nielsvanvelzen/jellyfin-apiclient-java/jellyfin-apiclient-java/;publish=0") + name = "bintray" + url = uri("https://api.bintray.com/maven/nielsvanvelzen/jellyfin-apiclient-java/jellyfin-apiclient-java;publish=0;override=1") credentials { username = getProperty("bintray.user") as String? diff --git a/library/build.gradle.kts b/library/build.gradle.kts index 1ba16510..806f492d 100644 --- a/library/build.gradle.kts +++ b/library/build.gradle.kts @@ -17,7 +17,7 @@ val sourcesJar by tasks.creating(Jar::class) { from(sourceSets.getByName("main").allSource) } -publishing.publications.create("maven") { +publishing.publications.create("default") { from(components["java"]) artifact(sourcesJar) diff --git a/model/build.gradle.kts b/model/build.gradle.kts index 3e863b3a..49f68200 100644 --- a/model/build.gradle.kts +++ b/model/build.gradle.kts @@ -9,7 +9,7 @@ val sourcesJar by tasks.creating(Jar::class) { from(sourceSets.getByName("main").allSource) } -publishing.publications.create("maven") { +publishing.publications.create("default") { from(components["java"]) artifact(sourcesJar)