-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
41 lines (35 loc) · 1.04 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
buildscript {
dependencies {
classpath 'net.sf.proguard:proguard-gradle:6.2.2'
}
}
plugins {
id 'java'
}
group 'org.example'
version '1.0-SNAPSHOT'
sourceCompatibility = 1.8
repositories {
mavenCentral()
maven {
name = "inventitive-repo"
url = "https://repo.inventivetalent.org/content/groups/public/"
}
}
dependencies {
testCompile group: 'junit', name: 'junit', version: '4.12'
//implementation "org.inventivetalent:nbt-lib:1.1.0-SNAPSHOT"
}
task myProguardTask(type: proguard.gradle.ProGuardTask) {
injars("build/libs/FabriCreator-1.0-SNAPSHOT.jar")
outjars("build/libs/FabriCreator-projarrd-1.0.SNAPSHOT.jar")
optimizationpasses(5)
allowaccessmodification()
mergeinterfacesaggressively()
overloadaggressively()
obfuscationdictionary("proguard/dictionary.txt")
classobfuscationdictionary("proguard/classdictionary.txt")
packageobfuscationdictionary("proguard/packagedictionary.txt")
dontwarn()
keep("class io.github.asbestosmc.fabricreator.FabriCreator")
}