forked from BuiltBrokenModding/Atomic-Science
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
71 lines (64 loc) · 2.24 KB
/
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
buildscript {
repositories {
mavenCentral()
jcenter()
maven {
name = "forge"
url = "http://files.minecraftforge.net/maven"
}
maven {
name = "sonatype"
url = "https://oss.sonatype.org/content/repositories/snapshots/"
}
}
dependencies {
classpath 'net.minecraftforge.gradle:ForgeGradle:2.3-SNAPSHOT'
}
}
plugins {
//Applies the Build scan plugin so i can upload issues easily and link to gradle devs
//id 'com.gradle.build-scan' version '1.4'
//applies CurseGradle plugin for uploading to CurseForge
id "com.matthewprenger.cursegradle" version "1.1.0"
// id "net.saliman.cobertura" version "2.5.3"
// id "com.github.kt3k.coveralls" version "2.8.2"
//id "com.github.johnrengelman.shadow" version "1.2.2"
id "net.franz-becker.gradle-lombok" version "1.3"
id 'com.jfrog.bintray' version '1.1'
//Applies the changelog pluginid
id "se.bjurr.gitchangelog.git-changelog-gradle-plugin" version "1.55"
id "org.ajoberstar.grgit" version "2.1.0"
}
apply from: 'https://raw.githubusercontent.com/BuiltBrokenModding/BuiltBrokenScripts/1.12.2/index/index.gradle'
dependencies
{
testCompile 'junit:junit:4.11'
// compile against the JEI API
deobfCompile "mezz.jei:jei_${minecraft.version}:4.12.0.216:api"
}
sourceCompatibility = 1.8
targetCompatibility = 1.8
jar {
manifest.mainAttributes(
"Built-By": System.getProperty('user.name'),
"Created-By": project.CurrentJVM,
"Implementation-Title": archivesBaseName,
"Implementation-Version": project.version,
"Git-Hash": project.GitHash)
}
deobfJar {
manifest.mainAttributes(
"Built-By": System.getProperty('user.name'),
"Created-By": project.CurrentJVM,
"Implementation-Title": archivesBaseName,
"Implementation-Version": project.version,
"Git-Hash": project.GitHash)
}
sourcesJar {
manifest.mainAttributes(
"Built-By": System.getProperty('user.name'),
"Created-By": project.CurrentJVM,
"Implementation-Title": archivesBaseName,
"Implementation-Version": project.version,
"Git-Hash": project.GitHash)
}