Commit e42e77c8 authored by Alexey Tsvetkov's avatar Alexey Tsvetkov

Add ToDos as post factum review

parent 5c7bfe39
...@@ -221,6 +221,7 @@ kotlin { ...@@ -221,6 +221,7 @@ kotlin {
} }
if (supportAndroid) { if (supportAndroid) {
// todo: use android target
jvm("android") { jvm("android") {
compilations.all { compilations.all {
kotlinOptions.jvmTarget = "11" kotlinOptions.jvmTarget = "11"
...@@ -1074,6 +1075,7 @@ publishing { ...@@ -1074,6 +1075,7 @@ publishing {
afterEvaluate { afterEvaluate {
artifact(entry.value.map { it.archiveFile.get() }) artifact(entry.value.map { it.archiveFile.get() })
var jvmSourcesArtifact: Any? = null var jvmSourcesArtifact: Any? = null
// todo: use correct sources jar for each jvm source set
kotlin.jvm("awt").mavenPublication { kotlin.jvm("awt").mavenPublication {
jvmSourcesArtifact = artifacts.find { it.classifier == "sources" } jvmSourcesArtifact = artifacts.find { it.classifier == "sources" }
} }
......
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