File tree Expand file tree Collapse file tree 6 files changed +290
-203
lines changed Expand file tree Collapse file tree 6 files changed +290
-203
lines changed Original file line number Diff line number Diff line change 99 steps :
1010 - name : Checkout code
1111 uses : actions/checkout@v2
12- - name : Set up JDK 11
12+ - name : Set up JDK 17
1313 uses : actions/setup-java@v2
1414 with :
15- java-version : 11
16- distribution : ' adopt '
15+ java-version : 17
16+ distribution : zulu
1717 - name : Update Gradle Wrapper Action
1818 uses : gradle-update/update-gradle-wrapper-action@v1
1919 - name : Build with Gradle
Original file line number Diff line number Diff line change @@ -17,13 +17,18 @@ apply plugin: 'kotlin'
1717
1818archivesBaseName = ' kotlib'
1919group ' kr.es6'
20- try {
21- version project. KOTLIB_VERSION
22- } catch (Exception ignored) {
20+
21+ java. sourceCompatibility = JavaVersion . VERSION_17
22+ tasks. withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile ). configureEach {
23+ kotlinOptions {
24+ jvmTarget = JavaVersion . VERSION_17
25+ }
2326}
2427
2528// Run this task to bundle all needed dependency
2629task bundle (type : Jar ) {
30+ archiveFileName. set(" $archivesBaseName -all.jar" )
31+ from { configurations. runtimeClasspath. collect { it. isDirectory() ? it : zipTree(it) } }
2732 with jar
2833}
2934
Original file line number Diff line number Diff line change 1- # Thu Jan 02 17:51:45 KST 2020
21distributionBase =GRADLE_USER_HOME
32distributionPath =wrapper/dists
3+ distributionSha256Sum =5625a0ae20fe000d9225d000b36909c7a0e0e8dda61c19b12da769add847c975
4+ distributionUrl =https\://services.gradle.org/distributions/gradle-8.1.1-all.zip
5+ networkTimeout =10000
46zipStoreBase =GRADLE_USER_HOME
57zipStorePath =wrapper/dists
6- distributionUrl =https\://services.gradle.org/distributions/gradle-8.0.1-all.zip
You can’t perform that action at this time.
0 commit comments