File tree Expand file tree Collapse file tree 3 files changed +11
-10
lines changed Expand file tree Collapse file tree 3 files changed +11
-10
lines changed Original file line number Diff line number Diff line change @@ -17,11 +17,11 @@ stages:
17
17
jobs :
18
18
include :
19
19
- stage : build
20
- script : ./gradlew build
20
+ script : ./gradlew clean build
21
21
- stage : snapshot
22
- script : ./gradlew build artifactoryPublish -x test -Dsnapshot=true -Dbintray.user=$BINTRAY_USER -Dbintray.key=$BINTRAY_API_KEY -Dbuild.number=$TRAVIS_BUILD_NUMBER
22
+ script : ./gradlew clean build artifactoryPublish -x test -Dsnapshot=true -Dbintray.user=$BINTRAY_USER -Dbintray.key=$BINTRAY_API_KEY -Dbuild.number=$TRAVIS_BUILD_NUMBER
23
23
- stage : snapshot-1.4
24
- script : ./gradlew build artifactoryPublish -x test -Dsnapshot=true -Dbintray.user=$BINTRAY_USER -Dbintray.key=$BINTRAY_API_KEY -Dbuild.number=$TRAVIS_BUILD_NUMBER
24
+ script : ./gradlew clean build artifactoryPublish -x test -Dsnapshot=true -Dbintray.user=$BINTRAY_USER -Dbintray.key=$BINTRAY_API_KEY -Dbuild.number=$TRAVIS_BUILD_NUMBER
25
25
- stage : release
26
- script : ./gradlew build bintrayUpload -x test -Dbintray.user=$BINTRAY_USER -Dbintray.key=$BINTRAY_API_KEY -Dbuild.number=$TRAVIS_BUILD_NUMBER -Dmaven.password=$MAVEN_PASSWORD -Dmaven.user=$MAVEN_USER
26
+ script : ./gradlew clean build bintrayUpload -x test -Dbintray.user=$BINTRAY_USER -Dbintray.key=$BINTRAY_API_KEY -Dbuild.number=$TRAVIS_BUILD_NUMBER -Dmaven.password=$MAVEN_PASSWORD -Dmaven.user=$MAVEN_USER
27
27
Original file line number Diff line number Diff line change @@ -57,12 +57,12 @@ kotlin {
57
57
}
58
58
}
59
59
js {
60
- compilations.named( " main " ) {
61
- kotlinOptions {
62
- metaInfo = true
63
- sourceMap = true
64
- verbose = true
65
- moduleKind = " umd "
60
+ nodejs()
61
+ browser {
62
+ testTask {
63
+ useKarma {
64
+ useChromeHeadless()
65
+ }
66
66
}
67
67
}
68
68
}
Original file line number Diff line number Diff line change 1
1
kotlin.mpp.enableGranularSourceSetsMetadata =true
2
+ kotlin.js.compiler =both
You can’t perform that action at this time.
0 commit comments