aboutsummaryrefslogtreecommitdiff
path: root/build.gradle.kts
diff options
context:
space:
mode:
Diffstat (limited to 'build.gradle.kts')
-rw-r--r--build.gradle.kts56
1 files changed, 4 insertions, 52 deletions
diff --git a/build.gradle.kts b/build.gradle.kts
index 065925a..c8bdfdb 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -28,14 +28,15 @@ plugins {
alias(libs.plugins.kotlin.plugin.powerassert)
alias(libs.plugins.kotlin.plugin.ksp)
// alias(libs.plugins.loom)
+ alias(libs.plugins.shadow) apply false
// TODO: use arch loom once they update to 1.8
id("fabric-loom") version "1.10.1"
- id("moe.nea.licenseextractificator")
+ id("firmament.common")
+ id("firmament.license-management")
alias(libs.plugins.mcAutoTranslations)
}
version = getGitTagInfo(libs.versions.minecraft.get())
-group = rootProject.property("maven_group").toString()
java {
withSourcesJar()
@@ -43,6 +44,7 @@ java {
languageVersion.set(JavaLanguageVersion.of(21))
}
}
+
loom {
mixin.useLegacyMixinAp.set(false)
}
@@ -53,54 +55,6 @@ tasks.withType(KotlinCompile::class) {
}
}
-allprojects {
- repositories {
- mavenCentral()
- maven("https://maven.terraformersmc.com/releases/")
- maven("https://maven.shedaniel.me")
- maven("https://maven.fabricmc.net")
- maven("https://pkgs.dev.azure.com/djtheredstoner/DevAuth/_packaging/public/maven/v1")
- maven("https://api.modrinth.com/maven") {
- content {
- includeGroup("maven.modrinth")
- }
- }
- maven("https://repo.sleeping.town") {
- content {
- includeGroup("com.unascribed")
- }
- }
- ivy("https://github.com/HotswapProjects/HotswapAgent/releases/download") {
- patternLayout {
- artifact("[revision]/[artifact]-[revision].[ext]")
- }
- content {
- includeGroup("virtual.github.hotswapagent")
- }
- metadataSources {
- artifact()
- }
- }
- maven("https://server.bbkr.space/artifactory/libs-release")
- maven("https://repo.nea.moe/releases")
- maven("https://maven.notenoughupdates.org/releases")
- maven("https://repo.nea.moe/mirror")
- maven("https://jitpack.io/") {
- content {
- includeGroupByRegex("(com|io)\\.github\\..+")
- excludeModule("io.github.cottonmc", "LibGui")
- }
- }
- maven("https://repo.hypixel.net/repository/Hypixel/")
- maven("https://maven.azureaaron.net/snapshots")
- maven("https://maven.azureaaron.net/releases")
- maven("https://www.cursemaven.com")
- maven("https://maven.isxander.dev/releases") {
- name = "Xander Maven"
- }
- mavenLocal()
- }
-}
kotlin {
sourceSets.all {
languageSettings {
@@ -565,5 +519,3 @@ tasks.withType<AbstractArchiveTask>().configureEach {
isPreserveFileTimestamps = false
isReproducibleFileOrder = true
}
-
-licensing.addExtraLicenseMatchers()