Skip to content

Commit

Permalink
Maybe fix Jitpack-ing this project (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
travisMiehm authored Dec 14, 2023
1 parent f969822 commit dd5280f
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
13 changes: 11 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
plugins {
kotlin("jvm") version "1.9.0"
kotlin("jvm") version "1.9.20"
`maven-publish`
}

group = "com.faire.detektrules"
version = "0.0.1"
version = "0.1.0"

repositories {
mavenCentral()
Expand Down Expand Up @@ -33,4 +34,12 @@ tasks.test {

kotlin {
jvmToolchain(8)
}

publishing {
publications {
create<MavenPublication>("mavenJava") {
from(components["java"])
}
}
}
4 changes: 4 additions & 0 deletions jitpack.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
jdk:
- openjdk18
install:
- ./gradlew :assemble :publishToMavenLocal

0 comments on commit dd5280f

Please sign in to comment.