Skip to content

Commit

Permalink
Fixes for build on jitpack
Browse files Browse the repository at this point in the history
  • Loading branch information
kunyavskiy committed Aug 3, 2024
1 parent b1b4495 commit c16e0f0
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
4 changes: 4 additions & 0 deletions buildSrc/src/main/kotlin/live.app-conventions.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ plugins {
id("com.github.johnrengelman.shadow")
}

tasks.named<Jar>("jar") {
archiveClassifier = "just"
}

tasks {
register<Sync>("release") {
destinationDir = rootDir.resolve("artifacts/")
Expand Down
4 changes: 0 additions & 4 deletions buildSrc/src/main/kotlin/live.kotlin-conventions.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,6 @@ java {
}
}

tasks.named<Jar>("jar") {
archiveClassifier = "just"
}

tasks.named<Test>("test") {
useJUnitPlatform()
}
Expand Down
4 changes: 4 additions & 0 deletions jitpack.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
jdk:
- openjdk17
install:
- ./gradlew publishToMavenLocal

0 comments on commit c16e0f0

Please sign in to comment.