Change naming

This commit is contained in:
Niels van Velzen 2020-05-13 11:45:23 +02:00
parent cde82f9e4a
commit 3667dc45c8
4 changed files with 5 additions and 4 deletions

View File

@ -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<MavenPublication>("maven") {
publishing.publications.create<MavenPublication>("default") {
// Should be the same as the build type
from(components["release"])
}

View File

@ -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?

View File

@ -17,7 +17,7 @@ val sourcesJar by tasks.creating(Jar::class) {
from(sourceSets.getByName("main").allSource)
}
publishing.publications.create<MavenPublication>("maven") {
publishing.publications.create<MavenPublication>("default") {
from(components["java"])
artifact(sourcesJar)

View File

@ -9,7 +9,7 @@ val sourcesJar by tasks.creating(Jar::class) {
from(sourceSets.getByName("main").allSource)
}
publishing.publications.create<MavenPublication>("maven") {
publishing.publications.create<MavenPublication>("default") {
from(components["java"])
artifact(sourcesJar)