Skip to content

Commit

Permalink
Changed the target name of the artifact id from kebab-case to snake_case
Browse files Browse the repository at this point in the history
  • Loading branch information
tmurakami committed Dec 10, 2018
1 parent 7e7f3a3 commit 8fab3d6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions btkt/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ kotlin {
def nativeTarget = presets.find { it.properties.konanTarget == host }.with {
fromPreset(it, it.name) {
mavenPublication {
artifactId = "$project.name-${konanTarget.name.replace('_', '-')}"
artifactId = "${project.name}-${konanTarget.name}"
}
compilations.all {
kotlinSourceSets.each {
Expand All @@ -75,7 +75,7 @@ kotlin {
presets.matching { it.hasProperty('konanTarget') && it.konanTarget != host }.all {
fromPreset(it, it.name) {
mavenPublication {
artifactId = "$project.name-${konanTarget.name.replace('_', '-')}"
artifactId = "${project.name}-${konanTarget.name}"
}
compilations.all {
nativeTarget.compilations[name].kotlinSourceSets.each { source it }
Expand Down

0 comments on commit 8fab3d6

Please sign in to comment.