gradle configuration update #7

Merged
UpcraftLP merged 9 commits from gradle-update into master 2019-02-16 00:17:56 +00:00
Showing only changes of commit 682afc73a4 - Show all commits

View File

@ -1,5 +1,6 @@
modmuss50 commented 2019-02-15 21:03:34 +00:00 (Migrated from github.com)
Review

Bad indentation

Bad indentation
modmuss50 commented 2019-02-15 21:03:34 +00:00 (Migrated from github.com)
Review

Bad indentation

Bad indentation
plugins {
id 'fabric-loom' version '0.2.0-SNAPSHOT'
id 'maven-publish'
modmuss50 commented 2019-02-15 21:03:34 +00:00 (Migrated from github.com)
Review

Bad indentation

Bad indentation
}
sourceCompatibility = JavaVersion.VERSION_1_8
@ -35,3 +36,49 @@ task sourcesJar(type: Jar, dependsOn: classes) {
modmuss50 commented 2019-02-15 21:03:34 +00:00 (Migrated from github.com)
Review

Bad indentation

Bad indentation
modmuss50 commented 2019-02-15 21:03:34 +00:00 (Migrated from github.com)
Review

Bad indentation

Bad indentation
classifier = 'sources'
from sourceSets.main.allSource
}
modmuss50 commented 2019-02-15 21:03:34 +00:00 (Migrated from github.com)
Review

Bad indentation

Bad indentation
// create a javadoc file for publishing
modmuss50 commented 2019-02-15 21:03:34 +00:00 (Migrated from github.com)
Review

Bad indentation

Bad indentation
task javadocJar(type: Jar, dependsOn: javadoc) {
modmuss50 commented 2019-02-15 21:03:34 +00:00 (Migrated from github.com)
Review

Bad indentation

Bad indentation
from javadoc.destinationDir
modmuss50 commented 2019-02-15 21:03:34 +00:00 (Migrated from github.com)
Review

Bad indentation

Bad indentation
from "LICENSE"
modmuss50 commented 2019-02-15 21:03:34 +00:00 (Migrated from github.com)
Review

Bad indentation

Bad indentation
classifier = "javadoc"
modmuss50 commented 2019-02-15 21:03:34 +00:00 (Migrated from github.com)
Review

Bad indentation

Bad indentation
}
modmuss50 commented 2019-02-15 21:03:34 +00:00 (Migrated from github.com)
Review

Bad indentation

Bad indentation
modmuss50 commented 2019-02-15 21:03:34 +00:00 (Migrated from github.com)
Review

Bad indentation

Bad indentation
// make the javadoc tool be more lenient when using Java 8
modmuss50 commented 2019-02-15 21:03:34 +00:00 (Migrated from github.com)
Review

Bad indentation

Bad indentation
// this fixes the javadoc tool breaking on things like self-closed <br /> tags
modmuss50 commented 2019-02-15 21:03:34 +00:00 (Migrated from github.com)
Review

Bad indentation

Bad indentation
// see https://blog.joda.org/2014/02/turning-off-doclint-in-jdk-8-javadoc.html
modmuss50 commented 2019-02-15 21:03:34 +00:00 (Migrated from github.com)
Review

Bad indentation

Bad indentation
if (JavaVersion.current().isJava8Compatible()) {
modmuss50 commented 2019-02-15 21:03:34 +00:00 (Migrated from github.com)
Review

Bad indentation

Bad indentation
allprojects {
modmuss50 commented 2019-02-15 21:03:34 +00:00 (Migrated from github.com)
Review

Bad indentation

Bad indentation
tasks.withType(Javadoc) {
modmuss50 commented 2019-02-15 21:03:34 +00:00 (Migrated from github.com)
Review

Bad indentation

Bad indentation
options.addStringOption('Xdoclint:none', '-quiet')
modmuss50 commented 2019-02-15 21:03:34 +00:00 (Migrated from github.com)
Review

Bad indentation

Bad indentation
}
modmuss50 commented 2019-02-15 21:03:34 +00:00 (Migrated from github.com)
Review

Bad indentation

Bad indentation
}
modmuss50 commented 2019-02-15 21:03:34 +00:00 (Migrated from github.com)
Review

Bad indentation

Bad indentation
}
modmuss50 commented 2019-02-15 21:03:34 +00:00 (Migrated from github.com)
Review

Bad indentation

Bad indentation
modmuss50 commented 2019-02-15 21:03:34 +00:00 (Migrated from github.com)
Review

Bad indentation

Bad indentation
jar {
modmuss50 commented 2019-02-15 21:03:34 +00:00 (Migrated from github.com)
Review

Bad indentation

Bad indentation
from "LICENSE"
modmuss50 commented 2019-02-15 21:03:34 +00:00 (Migrated from github.com)
Review

Bad indentation

Bad indentation
}
modmuss50 commented 2019-02-15 21:03:34 +00:00 (Migrated from github.com)
Review

Bad indentation

Bad indentation
modmuss50 commented 2019-02-15 21:03:34 +00:00 (Migrated from github.com)
Review

Bad indentation

Bad indentation
// configure the maven publication
modmuss50 commented 2019-02-15 21:03:34 +00:00 (Migrated from github.com)
Review

Bad indentation

Bad indentation
publishing {
modmuss50 commented 2019-02-15 21:03:34 +00:00 (Migrated from github.com)
Review

Bad indentation

Bad indentation
publications {
modmuss50 commented 2019-02-15 21:03:34 +00:00 (Migrated from github.com)
Review

Bad indentation

Bad indentation
modmuss50 commented 2019-02-15 21:03:34 +00:00 (Migrated from github.com)
Review

Bad indentation

Bad indentation
mavenJava(MavenPublication) {
modmuss50 commented 2019-02-15 21:03:34 +00:00 (Migrated from github.com)
Review

Bad indentation

Bad indentation
// add all the jars that should be included when publishing to maven
modmuss50 commented 2019-02-15 21:03:34 +00:00 (Migrated from github.com)
Review

Bad indentation

Bad indentation
artifact jar
modmuss50 commented 2019-02-15 21:03:34 +00:00 (Migrated from github.com)
Review

Bad indentation

Bad indentation
artifact javadocJar
modmuss50 commented 2019-02-15 21:03:34 +00:00 (Migrated from github.com)
Review

Bad indentation

Bad indentation
artifact sourcesJar
modmuss50 commented 2019-02-15 21:03:34 +00:00 (Migrated from github.com)
Review

Bad indentation

Bad indentation
}
modmuss50 commented 2019-02-15 21:03:34 +00:00 (Migrated from github.com)
Review

Bad indentation

Bad indentation
}
modmuss50 commented 2019-02-15 21:03:34 +00:00 (Migrated from github.com)
Review

Bad indentation

Bad indentation
modmuss50 commented 2019-02-15 21:03:34 +00:00 (Migrated from github.com)
Review

Bad indentation

Bad indentation
// select the repositories you want to publish to
modmuss50 commented 2019-02-15 21:03:34 +00:00 (Migrated from github.com)
Review

Bad indentation

Bad indentation
repositories {
modmuss50 commented 2019-02-15 21:03:34 +00:00 (Migrated from github.com)
Review

Bad indentation

Bad indentation
// uncomment to publish to the local maven
modmuss50 commented 2019-02-15 21:03:34 +00:00 (Migrated from github.com)
Review

Bad indentation

Bad indentation
// mavenLocal()
modmuss50 commented 2019-02-15 21:03:34 +00:00 (Migrated from github.com)
Review

Bad indentation

Bad indentation
}
modmuss50 commented 2019-02-15 21:03:34 +00:00 (Migrated from github.com)
Review

Bad indentation

Bad indentation
}
modmuss50 commented 2019-02-15 21:03:34 +00:00 (Migrated from github.com)
Review

Bad indentation

Bad indentation
modmuss50 commented 2019-02-15 21:03:34 +00:00 (Migrated from github.com)
Review

Bad indentation

Bad indentation
// make sure that jars are properly remapped before uploading
modmuss50 commented 2019-02-15 21:03:34 +00:00 (Migrated from github.com)
Review

Bad indentation

Bad indentation
tasks.publish.dependsOn build
modmuss50 commented 2019-02-15 21:03:34 +00:00 (Migrated from github.com)
Review

Bad indentation

Bad indentation
tasks.build.dependsOn javadocJar
modmuss50 commented 2019-02-15 21:03:34 +00:00 (Migrated from github.com)
Review

Bad indentation

Bad indentation
modmuss50 commented 2019-02-15 21:03:34 +00:00 (Migrated from github.com)
Review

Bad indentation

Bad indentation

modmuss50 commented 2019-02-15 21:03:34 +00:00 (Migrated from github.com)
Review

Bad indentation

Bad indentation
modmuss50 commented 2019-02-15 21:03:34 +00:00 (Migrated from github.com)
Review

Bad indentation

Bad indentation