Skip to content

Commit

Permalink
Make jar task depend on pdm
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnnyJayJay committed Jul 30, 2020
1 parent 119bf21 commit 8c05fef
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
plugins {
java
//id("com.github.johnrengelman.shadow") version "6.0.0"
kotlin("jvm") version "1.3.72"
id("me.bristermitten.pdm") version "0.0.1"
}
Expand All @@ -17,11 +18,15 @@ repositories {

dependencies {
compileOnly("org.spigotmc:spigot:1.8.8-R0.1-SNAPSHOT")
pdm("com.github.johnnyjayjay:compatre:master-SNAPSHOT")
pdm("com.github.johnnyjayjay:compatre:0.1.0-alpha")
}

tasks {
compileJava.get().options.encoding = "UTF-8"

jar {
dependsOn("pdm")
}
}

configure<JavaPluginConvention> {
Expand Down

0 comments on commit 8c05fef

Please sign in to comment.