Plex-FAWE/buildSrc/build.gradle.kts

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

73 lines
2.1 KiB
Plaintext
Raw Normal View History

import java.util.Properties
plugins {
`kotlin-dsl`
kotlin("jvm") version embeddedKotlinVersion
}
repositories {
jcenter()
gradlePluginPortal()
2021-01-21 12:07:17 +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
*/
maven {
2021-01-21 12:34:33 +00:00
name = "EngineHub"
url = uri("https://maven.enginehub.org/repo/")
content {
2021-01-21 12:21:54 +00:00
includeGroupByRegex("com.sk89q.*")
}
}
}
2021-01-21 12:07:17 +00:00
/*
configurations.all {
resolutionStrategy {
// Fabric needs this.
2019-07-15 16:14:02 +00:00
force(
2020-07-14 02:50:59 +00:00
"commons-io:commons-io:2.6",
"org.ow2.asm:asm:8.0.1",
"org.ow2.asm:asm-commons:8.0.1"
2019-07-15 16:14:02 +00:00
)
}
}
2021-01-21 12:07:17 +00:00
*/
val properties = Properties().also { props ->
project.projectDir.resolveSibling("gradle.properties").bufferedReader().use {
props.load(it)
}
}
2021-01-21 12:07:17 +00:00
/*
val loomVersion: String = properties.getProperty("loom.version")
val mixinVersion: String = properties.getProperty("mixin.version")
2021-01-21 12:07:17 +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")
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
/*
implementation("gradle.plugin.com.mendhak.gradlecrowdin:plugin:0.1.0")
implementation("org.enginehub.gradle:gradle-codecov-plugin:0.1.0")
2021-01-21 12:07:17 +00:00
implementation("org.jfrog.buildinfo:build-info-extractor-gradle:4.16.0")
implementation("gradle.plugin.org.spongepowered:spongegradle:0.9.0")
implementation("net.minecraftforge.gradle:ForgeGradle:3.0.181")
implementation("net.fabricmc:fabric-loom:$loomVersion")
implementation("net.fabricmc:sponge-mixin:$mixinVersion")
*/
}