Provides environment annotations from Fabric Loader to silent compile warnings when using Loom without Fabric Loader present, for example in the common project in a multi-platform setup.
// build.gradle.kts
repositories {
maven("https://maven2.bai.lol") {
content {
includeGroup("lol.bai")
}
}
}
dependencies {
compileOnly("lol.bai:fabric-loader-environment:0.0.1")
}
// build.gradle
repositories {
maven {
url "https://maven2.bai.lol"
content {
includeGroup "lol.bai"
}
}
}
dependencies {
compileOnly "lol.bai:fabric-loader-environment:0.0.1"
}