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