2019-09-22 13:42:26 -07:00
|
|
|
import java.util.Properties
|
|
|
|
|
2019-07-10 13:13:41 -07:00
|
|
|
plugins {
|
|
|
|
`kotlin-dsl`
|
2021-01-07 21:31:24 -05:00
|
|
|
kotlin("jvm") version embeddedKotlinVersion
|
2019-07-10 13:13:41 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
repositories {
|
|
|
|
gradlePluginPortal()
|
2020-03-31 21:13:32 -04:00
|
|
|
maven {
|
2021-01-21 13:34:33 +01:00
|
|
|
name = "EngineHub"
|
2020-03-31 21:13:32 -04:00
|
|
|
url = uri("https://maven.enginehub.org/repo/")
|
|
|
|
}
|
2019-07-10 13:13:41 -07:00
|
|
|
}
|
|
|
|
|
2019-09-22 13:42:26 -07:00
|
|
|
val properties = Properties().also { props ->
|
|
|
|
project.projectDir.resolveSibling("gradle.properties").bufferedReader().use {
|
|
|
|
props.load(it)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-07-10 13:13:41 -07:00
|
|
|
dependencies {
|
|
|
|
implementation(gradleApi())
|
2021-01-21 13:07:17 +01:00
|
|
|
implementation("org.ajoberstar.grgit:grgit-gradle:4.1.0")
|
2021-05-14 17:42:37 -04:00
|
|
|
implementation("gradle.plugin.com.github.jengelman.gradle.plugins:shadow:7.0.0")
|
2019-07-10 13:13:41 -07:00
|
|
|
}
|