2014-11-07 14:19:05 +01:00
|
|
|
buildscript {
|
|
|
|
repositories {
|
2016-01-07 18:20:59 +01:00
|
|
|
jcenter()
|
2014-11-07 14:19:05 +01:00
|
|
|
maven {
|
|
|
|
name = "forge"
|
|
|
|
url = "http://files.minecraftforge.net/maven"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
dependencies {
|
2019-11-07 18:59:07 +01:00
|
|
|
classpath group: 'net.minecraftforge.gradle', name: 'ForgeGradle', version: '3.+', changing: true
|
2014-11-07 14:19:05 +01:00
|
|
|
}
|
|
|
|
}
|
2016-05-19 20:05:12 +02:00
|
|
|
|
2019-11-07 18:59:07 +01:00
|
|
|
apply plugin: 'net.minecraftforge.gradle'
|
|
|
|
apply plugin: 'eclipse'
|
2016-05-19 20:05:12 +02:00
|
|
|
apply plugin: 'idea'
|
2014-11-07 14:19:05 +01:00
|
|
|
|
2019-11-08 02:26:53 +01:00
|
|
|
version = "2.0.0"
|
2015-12-30 22:02:15 +01:00
|
|
|
group = "de.ellpeck.actuallyadditions"
|
2019-11-08 02:26:53 +01:00
|
|
|
archivesBaseName = "ActuallyAdditions-1.14.4"
|
2014-11-07 14:19:05 +01:00
|
|
|
|
2019-11-08 02:26:53 +01:00
|
|
|
sourceCompatibility = targetCompatibility = compileJava.sourceCompatibility = compileJava.targetCompatibility = '1.8'
|
2016-07-31 16:30:37 +02:00
|
|
|
|
2014-11-07 14:19:05 +01:00
|
|
|
minecraft {
|
2020-09-07 04:32:10 +02:00
|
|
|
mappings channel: "stable", version: "58-1.14.4"
|
|
|
|
runs {
|
2019-11-07 18:59:07 +01:00
|
|
|
client = {
|
2019-11-08 02:26:53 +01:00
|
|
|
properties 'forge.logging.markers': ''
|
|
|
|
properties 'forge.logging.console.level': 'debug'
|
2020-09-07 04:32:10 +02:00
|
|
|
workingDirectory project.file('run/client')
|
2019-11-08 02:26:53 +01:00
|
|
|
source sourceSets.main
|
2019-11-07 18:59:07 +01:00
|
|
|
}
|
|
|
|
server = {
|
2019-11-08 02:26:53 +01:00
|
|
|
properties 'forge.logging.markers': ''
|
|
|
|
properties 'forge.logging.console.level': 'debug'
|
2020-09-07 04:32:10 +02:00
|
|
|
workingDirectory project.file('run/server')
|
2019-11-08 02:26:53 +01:00
|
|
|
source sourceSets.main
|
2019-11-07 18:59:07 +01:00
|
|
|
}
|
|
|
|
data = {
|
|
|
|
workingDirectory project.file("run/data").canonicalPath
|
|
|
|
args "--mod", "actuallyadditions", "--all", "--output", "\"" + file("src/generated/resources").toString() + "\"", "--validate", "--existing", "\"" + sourceSets.main.resources.srcDirs[0] + "\""
|
|
|
|
mods {
|
|
|
|
actuallyadditions {
|
|
|
|
source sourceSets.main
|
2020-09-07 04:32:10 +02:00
|
|
|
}
|
|
|
|
}
|
2019-11-07 18:59:07 +01:00
|
|
|
}
|
|
|
|
}
|
2014-11-07 14:19:05 +01:00
|
|
|
}
|
|
|
|
|
2015-04-26 20:07:57 +02:00
|
|
|
repositories {
|
2016-01-16 20:06:25 +01:00
|
|
|
maven {
|
2019-11-08 08:15:54 +01:00
|
|
|
url "https://dvs1.progwml6.com/files/maven"
|
2017-08-24 07:00:33 +02:00
|
|
|
}
|
2020-09-07 04:32:10 +02:00
|
|
|
//maven {
|
|
|
|
// url "https://tehnut.info/maven"
|
|
|
|
//}
|
2015-04-26 20:07:57 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2020-09-07 04:32:10 +02:00
|
|
|
minecraft 'net.minecraftforge:forge:1.14.4-28.2.0'
|
|
|
|
compile fg.deobf('mezz.jei:jei-1.14.4:6.0.1.30')
|
|
|
|
//compile fg.deobf('mcp.mobius.waila:Hwyla:1.10.6-B67_1.14.4')
|
|
|
|
//compile fileTree(dir: 'libs', include: '*.jar')
|
2014-11-07 14:19:05 +01:00
|
|
|
}
|
|
|
|
|
2019-11-08 02:26:53 +01:00
|
|
|
jar {
|
|
|
|
manifest {
|
2020-09-07 04:32:10 +02:00
|
|
|
attributes(["Specification-Title" : "actuallyadditions",
|
|
|
|
"Specification-Vendor" : "Ellpeck",
|
|
|
|
"Specification-Version" : "24.0",
|
|
|
|
"Implementation-Title" : project.name,
|
|
|
|
"Implementation-Version" : "${version}",
|
|
|
|
"Implementation-Vendor" : "Ellpeck",
|
2019-11-08 02:26:53 +01:00
|
|
|
"Implementation-Timestamp": new Date().format("yyyy-MM-dd'T'HH:mm:ssZ")],)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/*TODO: Re-evaluate
|
2019-11-07 18:59:07 +01:00
|
|
|
def normalManifest = {
|
|
|
|
attributes(
|
|
|
|
"Built-On": "1.14.4",
|
|
|
|
"Implementation-Title": "ActuallyAdditions",
|
|
|
|
"Implementation-Version": project.version,
|
|
|
|
"Implementation-Timestamp": new Date().format("yyyy-MM-dd'T'HH:mm:ssZ")
|
|
|
|
)
|
2014-11-07 14:19:05 +01:00
|
|
|
}
|
2015-01-05 22:50:20 +01:00
|
|
|
|
2016-05-19 20:05:12 +02:00
|
|
|
jar {
|
2019-11-07 18:59:07 +01:00
|
|
|
exclude(".cache")
|
|
|
|
manifest normalManifest
|
2016-05-19 20:05:12 +02:00
|
|
|
}
|
2016-01-06 05:07:32 +01:00
|
|
|
|
2016-01-06 03:50:15 +01:00
|
|
|
task deobfJar(type: Jar) {
|
|
|
|
from sourceSets.main.output
|
2016-05-19 20:05:12 +02:00
|
|
|
from sourceSets.main.java
|
2016-01-06 03:50:15 +01:00
|
|
|
classifier = 'dev'
|
2019-11-07 18:59:07 +01:00
|
|
|
|
|
|
|
exclude(".cache")
|
|
|
|
manifest normalManifest
|
2016-01-06 03:50:15 +01:00
|
|
|
}
|
2016-01-06 05:07:32 +01:00
|
|
|
|
|
|
|
task apiJar(type: Jar) {
|
|
|
|
from sourceSets.main.output
|
|
|
|
from sourceSets.main.java
|
|
|
|
classifier = 'api'
|
|
|
|
include 'de/ellpeck/actuallyadditions/api/**'
|
2016-07-31 16:30:37 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
javadoc {
|
|
|
|
include 'de/ellpeck/actuallyadditions/api/**'
|
|
|
|
}
|
|
|
|
|
|
|
|
task javadocJar(type: Jar, dependsOn: javadoc) {
|
|
|
|
from 'build/docs/javadoc'
|
|
|
|
classifier 'javadoc'
|
|
|
|
}
|
|
|
|
|
|
|
|
task sourcesJar(type: Jar) {
|
|
|
|
from sourceSets.main.java
|
|
|
|
classifier = 'sources'
|
|
|
|
}
|
|
|
|
|
|
|
|
apply plugin: 'maven-publish'
|
|
|
|
|
|
|
|
publishing {
|
|
|
|
publications {
|
|
|
|
mavenJava(MavenPublication) {
|
|
|
|
artifact jar
|
|
|
|
artifact apiJar
|
|
|
|
artifact javadocJar
|
|
|
|
artifact sourcesJar
|
|
|
|
artifact deobfJar
|
|
|
|
}
|
|
|
|
}
|
|
|
|
repositories {
|
|
|
|
maven {
|
|
|
|
url "file:///srv/nginx/maven"
|
|
|
|
}
|
|
|
|
}
|
2019-11-08 02:26:53 +01:00
|
|
|
}
|
|
|
|
*/
|