+1
-1
@@ -1,4 +1,4 @@
|
|||||||
aeversion=rv5
|
aeversion=rv6
|
||||||
aechannel=alpha
|
aechannel=alpha
|
||||||
aebuild=0
|
aebuild=0
|
||||||
aegroup=appeng
|
aegroup=appeng
|
||||||
|
|||||||
@@ -24,36 +24,44 @@ allprojects {
|
|||||||
}
|
}
|
||||||
|
|
||||||
javadoc {
|
javadoc {
|
||||||
options.encoding = 'UTF-8'
|
options.encoding = 'UTF-8'
|
||||||
options.charSet = 'UTF-8'
|
options.charSet = 'UTF-8'
|
||||||
}
|
}
|
||||||
|
|
||||||
task javadocs(type: Javadoc) {
|
task javadocs(type: Javadoc) {
|
||||||
source = sourceSets.api.java
|
source = sourceSets.api.java
|
||||||
include "appeng/api/**"
|
include "appeng/api/**"
|
||||||
|
|
||||||
// Due to ForgeGradle having to be a special snowflake,
|
// Due to ForgeGradle having to be a special snowflake,
|
||||||
// we have to add some custom configurations to the normal compile configuration and hope it does not break.
|
// we have to add some custom configurations to the normal compile configuration and hope it does not break.
|
||||||
classpath = configurations.compile + configurations.forgeGradleMc + configurations.forgeGradleMcDeps
|
classpath = configurations.compile + configurations.forgeGradleMc + configurations.forgeGradleMcDeps
|
||||||
}
|
}
|
||||||
|
|
||||||
task javadocJar(type: Jar, dependsOn: javadocs) {
|
task javadocJar(type: Jar, dependsOn: javadocs) {
|
||||||
from javadoc.destinationDir
|
from javadoc.destinationDir
|
||||||
classifier = 'javadoc'
|
|
||||||
|
classifier = 'javadoc'
|
||||||
}
|
}
|
||||||
|
|
||||||
task apiJar(type: Jar) {
|
task apiJar(type: Jar) {
|
||||||
from sourceSets.api.java
|
from sourceSets.api.java
|
||||||
include "appeng/api/**"
|
include "appeng/api/**"
|
||||||
|
|
||||||
from sourceSets.api.output
|
from sourceSets.api.output
|
||||||
include "appeng/api/**"
|
include "appeng/api/**"
|
||||||
|
|
||||||
classifier = 'api'
|
classifier = 'api'
|
||||||
|
}
|
||||||
|
|
||||||
|
task sourceJar(type: Jar, overwrite: true) {
|
||||||
|
from sourceSets.api.allSource
|
||||||
|
from sourceSets.main.allSource
|
||||||
|
|
||||||
|
classifier = 'sources'
|
||||||
}
|
}
|
||||||
|
|
||||||
artifacts {
|
artifacts {
|
||||||
archives apiJar
|
archives apiJar
|
||||||
archives javadocJar
|
archives javadocJar
|
||||||
archives sourceJar
|
archives sourceJar
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user