forked from Glitchfiend/ToughAsNails
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
41 lines (32 loc) · 988 Bytes
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
buildscript {
repositories {
mavenLocal()
maven { url = 'https://files.minecraftforge.net/maven' }
jcenter()
mavenCentral()
}
dependencies {
classpath group: 'net.minecraftforge.gradle', name: 'ForgeGradle', version: '3.+', changing: true
}
}
apply plugin: 'net.minecraftforge.gradle'
apply plugin: 'idea'
group = "com.github.glitchfiend.biomesoplenty"
archivesBaseName = "ToughAsNails-Api"
sourceCompatibility = targetCompatibility = compileJava.sourceCompatibility = compileJava.targetCompatibility = '1.8'
version = "${minecraft_version}-${api_version}"
minecraft {
mappings channel: 'snapshot', version: mappings_version
}
dependencies {
minecraft 'net.minecraftforge:forge:' + minecraft_version + '-' + forge_version
}
task apiJar(type: Jar) {
from (sourceSets.main.allJava) {
include 'toughasnails/toughasnails.api/**'
}
classifier = 'toughasnails.api'
}
artifacts {
archives apiJar
}