Commit c14679b 1 parent 5fbe01d commit c14679b Copy full SHA for c14679b
File tree 2 files changed +10
-3
lines changed
buildSrc/src/main/kotlin/com/github/lamba92/dragalialost/build
2 files changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -20,5 +20,5 @@ deploy:
20
20
script : ./gradlew bintrayUpload
21
21
skip_cleanup : true
22
22
on :
23
- branch : release
23
+ branch : master
24
24
tag : true
Original file line number Diff line number Diff line change @@ -3,8 +3,10 @@ package com.github.lamba92.dragalialost.build
3
3
import com.jfrog.bintray.gradle.BintrayExtension
4
4
import org.gradle.api.Plugin
5
5
import org.gradle.api.Project
6
+ import org.gradle.api.publish.PublishingExtension
7
+ import org.gradle.api.publish.maven.MavenPublication
6
8
import org.gradle.kotlin.dsl.configure
7
- import org.gradle.kotlin.dsl.withGroovyBuilder
9
+ import org.gradle.kotlin.dsl.named
8
10
import org.jetbrains.kotlin.gradle.dsl.KotlinMultiplatformExtension
9
11
10
12
@Suppress(" unused" )
@@ -38,7 +40,6 @@ class DragaliaPlugin : Plugin<Project> {
38
40
}
39
41
40
42
js {
41
- // nodejs()
42
43
mavenPublication {
43
44
artifactId = " ${rootProject.name} -${project.name} -js"
44
45
}
@@ -50,6 +51,12 @@ class DragaliaPlugin : Plugin<Project> {
50
51
51
52
}
52
53
54
+ extensions.configure<PublishingExtension > {
55
+ publications.named<MavenPublication >(" kotlinMultiplatform" ) {
56
+ artifactId = " ${rootProject.name} -${project.name} "
57
+ }
58
+ }
59
+
53
60
extensions.configure<BintrayExtension > {
54
61
user = searchPropertyOrNull(" bintrayUsername" )
55
62
key = searchPropertyOrNull(" bintrayApiKey" )
You can’t perform that action at this time.
0 commit comments