Commit ef458883 authored by Him188's avatar Him188

Fix publish

parent a30b9bc7
...@@ -65,12 +65,16 @@ bintrayUpload.dependsOn { ...@@ -65,12 +65,16 @@ bintrayUpload.dependsOn {
list list
} }
try{
// empty xxx-javadoc.jar // empty xxx-javadoc.jar
task javadocJar(type: Jar) { task javadocJar(type: Jar) {
archiveClassifier = 'javadoc' archiveClassifier = 'javadoc'
} }
} catch (Exception e){
}
publishing { publishing {
publications.all { publications.all {
// add empty javadocs (no need for MPP root publication which publishes only pom file) // add empty javadocs (no need for MPP root publication which publishes only pom file)
......
...@@ -43,5 +43,7 @@ dependencies { ...@@ -43,5 +43,7 @@ dependencies {
api(group = "com.moandjiezana.toml", name = "toml4j", version = "0.7.2") api(group = "com.moandjiezana.toml", name = "toml4j", version = "0.7.2")
api(group = "com.googlecode.lanterna", name = "lanterna", version = "3.0.2") api(group = "com.googlecode.lanterna", name = "lanterna", version = "3.0.2")
api("org.bouncycastle:bcprov-jdk15on:1.64") api("org.bouncycastle:bcprov-jdk15on:1.64")
implementation("no.tornado:tornadofx:1.7.17")
// classpath is not set correctly by IDE // classpath is not set correctly by IDE
} }
\ No newline at end of file
...@@ -8,8 +8,6 @@ plugins { ...@@ -8,8 +8,6 @@ plugins {
id("com.jfrog.bintray") version "1.8.4-jetbrains-3" id("com.jfrog.bintray") version "1.8.4-jetbrains-3"
} }
apply(from = rootProject.file("gradle/publish.gradle"))
val kotlinVersion: String by rootProject.ext val kotlinVersion: String by rootProject.ext
val atomicFuVersion: String by rootProject.ext val atomicFuVersion: String by rootProject.ext
val coroutinesVersion: String by rootProject.ext val coroutinesVersion: String by rootProject.ext
...@@ -119,4 +117,6 @@ kotlin { ...@@ -119,4 +117,6 @@ kotlin {
} }
} }
} }
} }
\ No newline at end of file
apply(from = rootProject.file("gradle/publish.gradle"))
...@@ -149,4 +149,6 @@ kotlin { ...@@ -149,4 +149,6 @@ kotlin {
} }
} }
} }
} }
\ No newline at end of file
apply(from = rootProject.file("gradle/publish.gradle"))
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment