Co-authored-by: Sebastian Hartte <shartte@users.noreply.github.com>
35 lines
570 B
Groovy
35 lines
570 B
Groovy
plugins {
|
|
id 'java'
|
|
}
|
|
|
|
java {
|
|
toolchain {
|
|
languageVersion = JavaLanguageVersion.of(21)
|
|
}
|
|
}
|
|
|
|
jar {
|
|
manifest {
|
|
attributes([
|
|
"FMLModType": "LIBRARY",
|
|
"Automatic-Module-Name": "testproject.coremod"
|
|
])
|
|
}
|
|
}
|
|
|
|
repositories {
|
|
maven {
|
|
url = "https://libraries.minecraft.net"
|
|
metadataSources{
|
|
mavenPom()
|
|
}
|
|
}
|
|
maven {
|
|
url = "https://maven.neoforged.net/releases"
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
compileOnly 'net.neoforged.fancymodloader:loader:10.0.37'
|
|
}
|