Build Update
This commit is contained in:
parent
e69450692c
commit
4e202c78ff
2 changed files with 2 additions and 32 deletions
16
bclib.gradle
16
bclib.gradle
|
@ -8,11 +8,6 @@ buildscript {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
//archivesBaseName = project.archives_base_name
|
|
||||||
//version = project.mod_version
|
|
||||||
//group = project.maven_group
|
|
||||||
|
|
||||||
apply from: "gradle/bclib-common.gradle"
|
apply from: "gradle/bclib-common.gradle"
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
|
@ -50,6 +45,7 @@ allprojects {
|
||||||
}
|
}
|
||||||
|
|
||||||
tasks.withType(JavaCompile).configureEach {
|
tasks.withType(JavaCompile).configureEach {
|
||||||
|
options.encoding = "UTF-8"
|
||||||
it.options.release = 17
|
it.options.release = 17
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -72,7 +68,7 @@ allprojects {
|
||||||
}
|
}
|
||||||
|
|
||||||
loom {
|
loom {
|
||||||
// shareRemapCaches = true
|
shareRemapCaches = true
|
||||||
}
|
}
|
||||||
|
|
||||||
tasks.withType(ProcessResources).configureEach {
|
tasks.withType(ProcessResources).configureEach {
|
||||||
|
@ -95,13 +91,6 @@ allprojects {
|
||||||
|
|
||||||
subprojects {
|
subprojects {
|
||||||
javadoc.enabled = false
|
javadoc.enabled = false
|
||||||
|
|
||||||
afterEvaluate {
|
|
||||||
// Disable the gen sources task on sub projects
|
|
||||||
// genCommonSourcesWithCfr.enabled = false
|
|
||||||
// genCommonSourcesWithFernFlower.enabled = false
|
|
||||||
// unpickCommonJar.enabled = false
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
javadoc {
|
javadoc {
|
||||||
|
@ -110,7 +99,6 @@ javadoc {
|
||||||
encoding = "UTF-8"
|
encoding = "UTF-8"
|
||||||
charSet = "UTF-8"
|
charSet = "UTF-8"
|
||||||
memberLevel = JavadocMemberLevel.PACKAGE
|
memberLevel = JavadocMemberLevel.PACKAGE
|
||||||
// Disable the crazy super-strict doclint tool in Java 8
|
|
||||||
addStringOption("Xdoclint:none", "-quiet")
|
addStringOption("Xdoclint:none", "-quiet")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -19,24 +19,6 @@ def moduleDependencies(project, List<String> depNames) {
|
||||||
api it
|
api it
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// // As we manually handle the maven artifacts, we need to also manually specify the deps.
|
|
||||||
// project.publishing {
|
|
||||||
// publications {
|
|
||||||
// mavenJava(MavenPublication) {
|
|
||||||
// pom.withXml {
|
|
||||||
// def depsNode = asNode().appendNode("dependencies")
|
|
||||||
// deps.each {
|
|
||||||
// def depNode = depsNode.appendNode("dependency")
|
|
||||||
// depNode.appendNode("groupId", it.group)
|
|
||||||
// depNode.appendNode("artifactId", it.name)
|
|
||||||
// depNode.appendNode("version", it.version)
|
|
||||||
// depNode.appendNode("scope", "compile")
|
|
||||||
// }
|
|
||||||
// }
|
|
||||||
// }
|
|
||||||
// }
|
|
||||||
// }
|
|
||||||
}
|
}
|
||||||
|
|
||||||
ext {
|
ext {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue