2019-09-22 20:42:26 +00:00
|
|
|
import java.util.Properties
|
|
|
|
|
2019-07-10 20:13:41 +00:00
|
|
|
plugins {
|
|
|
|
`kotlin-dsl`
|
2021-01-08 02:31:24 +00:00
|
|
|
kotlin("jvm") version embeddedKotlinVersion
|
2019-07-10 20:13:41 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
repositories {
|
|
|
|
jcenter()
|
|
|
|
gradlePluginPortal()
|
2021-01-21 12:07:17 +00:00
|
|
|
/*
|
2020-04-01 01:13:32 +00:00
|
|
|
maven {
|
|
|
|
name = "Forge Maven"
|
|
|
|
url = uri("https://files.minecraftforge.net/maven")
|
|
|
|
}
|
|
|
|
maven {
|
|
|
|
name = "Fabric"
|
|
|
|
url = uri("https://maven.fabricmc.net/")
|
|
|
|
}
|
|
|
|
maven {
|
|
|
|
name = "sponge"
|
|
|
|
url = uri("https://repo.spongepowered.org/maven")
|
|
|
|
}
|
2021-01-21 12:07:17 +00:00
|
|
|
*/
|
2020-04-01 01:13:32 +00:00
|
|
|
maven {
|
2021-01-21 12:34:33 +00:00
|
|
|
name = "EngineHub"
|
2020-04-01 01:13:32 +00:00
|
|
|
url = uri("https://maven.enginehub.org/repo/")
|
2021-01-08 02:31:24 +00:00
|
|
|
content {
|
2021-01-21 12:21:54 +00:00
|
|
|
includeGroupByRegex("com.sk89q.*")
|
2021-01-08 02:31:24 +00:00
|
|
|
}
|
2020-04-01 01:13:32 +00:00
|
|
|
}
|
2019-07-10 20:13:41 +00:00
|
|
|
}
|
|
|
|
|
2019-09-22 20:42:26 +00:00
|
|
|
val properties = Properties().also { props ->
|
|
|
|
project.projectDir.resolveSibling("gradle.properties").bufferedReader().use {
|
|
|
|
props.load(it)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-07-10 20:13:41 +00:00
|
|
|
dependencies {
|
|
|
|
implementation(gradleApi())
|
2021-01-21 12:07:17 +00: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 20:13:41 +00: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")
|
2021-01-21 12:07:17 +00:00
|
|
|
/*
|
2021-02-11 16:59:03 +00:00
|
|
|
implementation("org.jfrog.buildinfo:build-info-extractor-gradle:4.19.0")
|
|
|
|
implementation("org.spongepowered:SpongeGradle:0.11.5")
|
|
|
|
implementation("net.minecraftforge.gradle:ForgeGradle:4.0.9")
|
2021-01-21 12:07:17 +00:00
|
|
|
implementation("net.fabricmc:fabric-loom:$loomVersion")
|
|
|
|
implementation("net.fabricmc:sponge-mixin:$mixinVersion")
|
2021-02-11 16:59:03 +00:00
|
|
|
implementation("org.enginehub.gradle:gradle-codecov-plugin:0.1.0")
|
2021-01-21 12:07:17 +00:00
|
|
|
*/
|
2019-07-10 20:13:41 +00:00
|
|
|
}
|