File tree Expand file tree Collapse file tree 3 files changed +16
-2
lines changed
Expand file tree Collapse file tree 3 files changed +16
-2
lines changed Original file line number Diff line number Diff line change 33 types : [published]
44
55jobs :
6- build :
6+ publish-to-jitpack :
77 runs-on : ubuntu-latest
88 steps :
9+ - name : Setup JDK 21
10+ uses : actions/setup-java@v4
11+ with :
12+ distribution : ' adopt'
13+ java-version : ' 21'
14+
915 - uses : badasintended/autojitpack@v1
1016 with :
1117 version : ${{ github.event.release.tag_name }}
Original file line number Diff line number Diff line change @@ -26,6 +26,14 @@ tasks.withType<Test> {
2626 useJUnitPlatform()
2727}
2828
29+ java {
30+ sourceCompatibility = JavaVersion .VERSION_21
31+ targetCompatibility = JavaVersion .VERSION_21
32+ toolchain {
33+ languageVersion.set(JavaLanguageVersion .of(JavaVersion .VERSION_21 .toString()))
34+ }
35+ }
36+
2937publishing {
3038 publications {
3139 create<MavenPublication >(" maven" ) {
Original file line number Diff line number Diff line change 11object Publishing {
22 const val ArtifactId = " kotlin-aoc-utilities"
33 const val GroupId = " com.github.jsoberg"
4- const val Version = " 2025.1"
4+ const val Version = " 2025.1.1 "
55}
You can’t perform that action at this time.
0 commit comments