mirror of
https://github.com/YatopiaMC/Yatopia.git
synced 2024-11-29 06:05:14 +01:00
9dd5b27488
* Gradle 7.0 * Build JDK 16 * [CI-SKIP] rebase * Speed-Up build times Makes kotlin tasks run in parallel and adds back configure on demand * Updated to the final release of gradle 7.0 * Gradle Distribution SHA 256 Sum * Validate Gradle Wrapper * merged the two jobs * better name for validation * setup-java@v2 * fix? * specify arch * Setup JAVA_HOME and PATH * revert * Use the same jdk as @v1 * use setup-java@v1 too much errors * require Gradle Wrapper Validation to run build * setup-java@v2 * Regenerate cache maybe fix some issues * Auto set MC version of paperclip in GitHub Actions * Added .gitattributes Should fix issues with line endings * Update .gitattributes * Updated shadow jar plugin * fix
40 lines
1.0 KiB
Plaintext
40 lines
1.0 KiB
Plaintext
val kotlinxDomVersion = "0.0.10"
|
|
val shadowVersion = "7.0.0"
|
|
val mustacheVersion = "0.9.6"
|
|
val javaxMailVersion = "1.4.4"
|
|
|
|
plugins {
|
|
`kotlin-dsl`
|
|
}
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
maven("https://plugins.gradle.org/m2/")
|
|
maven("https://jitpack.io/")
|
|
}
|
|
|
|
dependencies {
|
|
implementation("org.jetbrains.kotlinx:kotlinx.dom:$kotlinxDomVersion")
|
|
implementation("com.github.johnrengelman:shadow:$shadowVersion")
|
|
implementation("com.github.spullara.mustache.java:compiler:$mustacheVersion")
|
|
implementation("javax.mail:mail:$javaxMailVersion")
|
|
implementation("com.github.ishlandbukkit:jbsdiff:deff66b794")
|
|
implementation("com.google.code.gson:gson:2.8.6")
|
|
implementation("com.google.guava:guava:30.0-jre")
|
|
implementation("commons-io:commons-io:2.8.0")
|
|
}
|
|
|
|
tasks.withType<JavaCompile> {
|
|
options.encoding = "UTF-8"
|
|
sourceCompatibility = "1.8"
|
|
}
|
|
|
|
gradlePlugin {
|
|
plugins {
|
|
register("Toothpick") {
|
|
id = "toothpick"
|
|
implementationClass = "Toothpick"
|
|
}
|
|
}
|
|
}
|