general buildscript cleanup
This commit is contained in:
parent
531f251168
commit
2406e0394f
|
|
@ -39,16 +39,13 @@ subprojects {
|
|||
}
|
||||
|
||||
repositories {
|
||||
|
||||
mavenCentral()
|
||||
|
||||
maven {
|
||||
name = 'Sponge / Mixin'
|
||||
url = 'https://repo.spongepowered.org/repository/maven-public/'
|
||||
}
|
||||
|
||||
maven {
|
||||
name = 'BlameJared Maven (CrT / Bookshelf)'
|
||||
name = 'BlameJared Maven (JEI / CraftTweaker / Bookshelf)'
|
||||
url = 'https://maven.blamejared.com'
|
||||
}
|
||||
}
|
||||
|
|
@ -56,7 +53,7 @@ subprojects {
|
|||
tasks.withType(JavaCompile).configureEach {
|
||||
|
||||
it.options.encoding = 'UTF-8'
|
||||
it.options.release = 17
|
||||
it.options.getRelease().set(17)
|
||||
}
|
||||
|
||||
processResources {
|
||||
|
|
@ -68,7 +65,7 @@ subprojects {
|
|||
// Disables Gradle's custom module metadata from being published to maven. The
|
||||
// metadata includes mapped dependencies which are not reasonably consumable by
|
||||
// other mod developers.
|
||||
tasks.withType(GenerateModuleMetadata) {
|
||||
tasks.withType(GenerateModuleMetadata).configureEach {
|
||||
|
||||
enabled = false
|
||||
}
|
||||
|
|
|
|||
|
|
@ -43,7 +43,7 @@ processResources {
|
|||
from project(":common").sourceSets.main.resources
|
||||
}
|
||||
|
||||
tasks.withType(JavaCompile) {
|
||||
tasks.withType(JavaCompile).configureEach {
|
||||
source(project(":common").sourceSets.main.allSource)
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -78,7 +78,7 @@ dependencies {
|
|||
annotationProcessor("org.spongepowered:mixin:0.8.5-SNAPSHOT:processor")
|
||||
}
|
||||
|
||||
tasks.withType(JavaCompile) {
|
||||
tasks.withType(JavaCompile).configureEach {
|
||||
source(project(":common").sourceSets.main.allSource)
|
||||
}
|
||||
|
||||
|
|
@ -86,7 +86,6 @@ processResources {
|
|||
from project(":common").sourceSets.main.resources
|
||||
}
|
||||
|
||||
|
||||
jar.finalizedBy('reobfJar')
|
||||
|
||||
publishing {
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ fabric_version=0.68.1+1.19.3
|
|||
fabric_loader_version=0.14.11
|
||||
|
||||
# Mod options
|
||||
mod_name=MultiLoader
|
||||
mod_name=Example Mod
|
||||
mod_author=Jared
|
||||
mod_id=examplemod
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user