mirror of
https://github.com/barkeser2002/Tenet.git
synced 2026-09-25 04:20:07 +03:00
35 lines
961 B
Groovy
35 lines
961 B
Groovy
plugins {
|
|
id 'java-library'
|
|
id 'jacoco'
|
|
}
|
|
|
|
dependencies {
|
|
compileOnly(libs.nulls)
|
|
implementation(project(':fmlloader'))
|
|
implementation(project(':fmlcore'))
|
|
}
|
|
|
|
java {
|
|
withSourcesJar()
|
|
}
|
|
|
|
tasks.named('jar', Jar).configure {
|
|
manifest {
|
|
attributes([
|
|
'Automatic-Module-Name': project.name.toLowerCase(),
|
|
'FMLModType': 'LANGPROVIDER',
|
|
] as LinkedHashMap)
|
|
attributes([
|
|
'Specification-Title': 'MCLanguage',
|
|
'Specification-Vendor': 'Forge Development LLC',
|
|
'Specification-Version': '1',
|
|
'Implementation-Title': 'MCLanguage',
|
|
'Implementation-Version': '1.0',
|
|
'Implementation-Vendor': 'Forge Development LLC',
|
|
] as LinkedHashMap, 'net/minecraftforge/fml/mclanguageprovider/')
|
|
}
|
|
}
|
|
|
|
tasks.withType(JavaCompile) {
|
|
options.compilerArgs << '-Xlint:unchecked'
|
|
} |