Yatopia/buildSrc/build.gradle.kts
tofikarz 9dd5b27488 [ci-skip] Updated Gradle to 7.0 (#453)
* 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
2021-04-27 11:57:16 -04:00

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"
}
}
}