54802be11f
Added temporary(!) API dependencies, will resolved via Maven later on Added mcmod.info Added pack.mcmeta template Added hacked BC jar to use facades indev Split build logic into several pieces Update gitignore Modify build.gradle to match changes
43 lines
No EOL
777 B
Groovy
43 lines
No EOL
777 B
Groovy
task myJavadocs(type: Javadoc) {
|
|
source = sourceSets.api.java
|
|
include "appeng/api/**"
|
|
|
|
classpath = configurations.compile
|
|
}
|
|
|
|
task javadocJar(type: Jar, dependsOn: myJavadocs) {
|
|
classifier = 'javadoc'
|
|
from 'build/docs/javadoc/'
|
|
}
|
|
|
|
task devJar(type: Jar) {
|
|
|
|
manifest {
|
|
attributes 'FMLCorePlugin': 'appeng.transformer.AppEngCore'
|
|
attributes 'FMLCorePluginContainsFMLMod': 'true'
|
|
}
|
|
|
|
from(sourceSets.main.output) {
|
|
include "appeng/**"
|
|
include "assets/**"
|
|
include 'mcmod.info'
|
|
}
|
|
|
|
classifier = 'dev'
|
|
}
|
|
|
|
task apiJar(type: Jar) {
|
|
|
|
from(sourceSets.api.java) {
|
|
include "appeng/api/**"
|
|
}
|
|
|
|
classifier = 'api'
|
|
|
|
}
|
|
|
|
artifacts {
|
|
archives devJar
|
|
archives apiJar
|
|
archives javadocJar
|
|
} |