Fix publish

This commit is contained in:
Him188 2020-02-16 13:54:42 +08:00
parent a30b9bc76a
commit ef4588832b
4 changed files with 15 additions and 7 deletions

View File

@ -65,12 +65,16 @@ bintrayUpload.dependsOn {
list
}
try{
// empty xxx-javadoc.jar
task javadocJar(type: Jar) {
archiveClassifier = 'javadoc'
}
task javadocJar(type: Jar) {
archiveClassifier = 'javadoc'
}
} catch (Exception e){
}
publishing {
publications.all {
// add empty javadocs (no need for MPP root publication which publishes only pom file)

View File

@ -43,5 +43,7 @@ dependencies {
api(group = "com.moandjiezana.toml", name = "toml4j", version = "0.7.2")
api(group = "com.googlecode.lanterna", name = "lanterna", version = "3.0.2")
api("org.bouncycastle:bcprov-jdk15on:1.64")
implementation("no.tornado:tornadofx:1.7.17")
// classpath is not set correctly by IDE
}

View File

@ -8,8 +8,6 @@ plugins {
id("com.jfrog.bintray") version "1.8.4-jetbrains-3"
}
apply(from = rootProject.file("gradle/publish.gradle"))
val kotlinVersion: String by rootProject.ext
val atomicFuVersion: String by rootProject.ext
val coroutinesVersion: String by rootProject.ext
@ -119,4 +117,6 @@ kotlin {
}
}
}
}
}
apply(from = rootProject.file("gradle/publish.gradle"))

View File

@ -149,4 +149,6 @@ kotlin {
}
}
}
}
}
apply(from = rootProject.file("gradle/publish.gradle"))