mirror of
https://github.com/barkeser2002/Tenet.git
synced 2026-09-25 07:20:02 +03:00
34 lines
1.2 KiB
Groovy
34 lines
1.2 KiB
Groovy
plugins {
|
|
id 'org.javamodularity.moduleplugin' version '1.8.3' apply false
|
|
id 'java-library'
|
|
id 'jacoco'
|
|
}
|
|
|
|
java.withSourcesJar()
|
|
|
|
dependencies {
|
|
compileOnly(libs.nulls)
|
|
implementation(project(':fmlloader'))
|
|
implementation(project(':fmlcore'))
|
|
}
|
|
|
|
tasks.named('jar', Jar).configure {
|
|
manifest {
|
|
attributes([
|
|
'Automatic-Module-Name': project.name.toLowerCase(),
|
|
'FMLModType': 'LANGPROVIDER'
|
|
] as java.util.LinkedHashMap)
|
|
attributes([
|
|
'Specification-Title': 'LowCodeMod',
|
|
'Specification-Vendor': 'Forge Development LLC',
|
|
'Specification-Version': '1.0',
|
|
'Implementation-Title': project.name,
|
|
'Implementation-Version': FORGE_VERSION.split('\\.')[0], //project.version, TODO: Split out into a real versioned system, for now use the default that net.minecraftforge.fml.loading.LanguageLoadingProvider.loadLanguageProviders() used
|
|
'Implementation-Vendor': 'Forge Development LLC'
|
|
] as java.util.LinkedHashMap, 'net/minecraftforge/fml/lowcodemod/')
|
|
}
|
|
}
|
|
|
|
tasks.withType(JavaCompile) {
|
|
options.compilerArgs << '-Xlint:-unchecked'
|
|
} |