36 lines
625 B
Groovy
36 lines
625 B
Groovy
plugins {
|
|
id 'java-library'
|
|
id 'net.neoforged.moddev' version '2.0.148'
|
|
}
|
|
|
|
group = 'net.wowmine'
|
|
version = '1.0.0'
|
|
|
|
base {
|
|
archivesName = 'wowmine-client-info'
|
|
}
|
|
|
|
java {
|
|
toolchain.languageVersion = JavaLanguageVersion.of(21)
|
|
withSourcesJar()
|
|
}
|
|
|
|
neoForge {
|
|
version = '21.1.250'
|
|
mods {
|
|
wowmine_client_info {
|
|
sourceSet(sourceSets.main)
|
|
}
|
|
}
|
|
}
|
|
|
|
tasks.withType(JavaCompile).configureEach {
|
|
options.encoding = 'UTF-8'
|
|
options.release = 21
|
|
}
|
|
|
|
tasks.withType(AbstractArchiveTask).configureEach {
|
|
preserveFileTimestamps = false
|
|
reproducibleFileOrder = true
|
|
}
|