style: clean up
This commit is contained in:
@@ -17,15 +17,9 @@ subprojects {
|
||||
|
||||
val loom = project.extensions.getByName<LoomGradleExtensionAPI>("loom")
|
||||
|
||||
|
||||
dependencies {
|
||||
"minecraft"("com.mojang:minecraft:${project.property("minecraft_version")}")
|
||||
// The following line declares the mojmap mappings, you may use other mappings as well
|
||||
"mappings"(
|
||||
loom.officialMojangMappings()
|
||||
)
|
||||
// The following line declares the yarn mappings you may select this one as well.
|
||||
// "mappings"("net.fabricmc:yarn:1.18.2+build.3:v2")
|
||||
"mappings"(loom.officialMojangMappings())
|
||||
}
|
||||
}
|
||||
|
||||
@@ -35,18 +29,9 @@ allprojects {
|
||||
apply(plugin = "architectury-plugin")
|
||||
apply(plugin = "maven-publish")
|
||||
|
||||
base.archivesName.set(rootProject.property("archives_base_name").toString())
|
||||
//base.archivesBaseName = rootProject.property("archives_base_name").toString()
|
||||
version = rootProject.property("mod_version").toString()
|
||||
group = rootProject.property("maven_group").toString()
|
||||
|
||||
repositories {
|
||||
// Add repositories to retrieve artifacts from in here.
|
||||
// You should only use this when depending on other mods because
|
||||
// Loom adds the essential maven repositories to download Minecraft and libraries from automatically.
|
||||
// See https://docs.gradle.org/current/userguide/declaring_repositories.html
|
||||
// for more information about repositories.
|
||||
}
|
||||
base.archivesName.set("quaedam")
|
||||
version = "1.0.0"
|
||||
group = "quaedam"
|
||||
|
||||
dependencies {
|
||||
compileOnly("org.jetbrains.kotlin:kotlin-stdlib")
|
||||
@@ -56,6 +41,7 @@ allprojects {
|
||||
options.encoding = "UTF-8"
|
||||
options.release.set(17)
|
||||
}
|
||||
|
||||
kotlin.target.compilations.all {
|
||||
kotlinOptions.jvmTarget = "17"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user