2019-09-22 22:42:26 +02:00
|
|
|
import java.util.Properties
|
|
|
|
|
2019-07-10 22:13:41 +02:00
|
|
|
plugins {
|
|
|
|
`kotlin-dsl`
|
2021-01-08 03:31:24 +01:00
|
|
|
kotlin("jvm") version embeddedKotlinVersion
|
2019-07-10 22:13:41 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
repositories {
|
|
|
|
jcenter()
|
|
|
|
gradlePluginPortal()
|
2020-04-01 03:13:32 +02:00
|
|
|
maven {
|
2021-01-21 13:34:33 +01:00
|
|
|
name = "EngineHub"
|
2020-04-01 03:13:32 +02:00
|
|
|
url = uri("https://maven.enginehub.org/repo/")
|
2021-01-08 03:31:24 +01:00
|
|
|
content {
|
2021-01-21 13:21:54 +01:00
|
|
|
includeGroupByRegex("com.sk89q.*")
|
2021-01-08 03:31:24 +01:00
|
|
|
}
|
2020-04-01 03:13:32 +02:00
|
|
|
}
|
2019-07-10 22:13:41 +02:00
|
|
|
}
|
|
|
|
|
2019-09-22 22:42:26 +02:00
|
|
|
val properties = Properties().also { props ->
|
|
|
|
project.projectDir.resolveSibling("gradle.properties").bufferedReader().use {
|
|
|
|
props.load(it)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-07-10 22:13:41 +02:00
|
|
|
dependencies {
|
|
|
|
implementation(gradleApi())
|
2021-01-21 13:07:17 +01:00
|
|
|
implementation("gradle.plugin.org.cadixdev.gradle:licenser:0.5.0")
|
|
|
|
implementation("org.ajoberstar.grgit:grgit-gradle:4.1.0")
|
|
|
|
implementation("com.github.jengelman.gradle.plugins:shadow:6.1.0")
|
2019-07-10 22:13:41 +02:00
|
|
|
implementation("net.ltgt.apt-eclipse:net.ltgt.apt-eclipse.gradle.plugin:0.21")
|
|
|
|
implementation("net.ltgt.apt-idea:net.ltgt.apt-idea.gradle.plugin:0.21")
|
|
|
|
}
|