forked from h4ctar/jogl_gradle
-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
74 lines (61 loc) · 2.38 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
72
73
74
buildscript {
repositories {
maven { url 'https://plugins.gradle.org/m2/' }
flatDir dirs: 'proguard/lib'
}
dependencies {
classpath ':proguard'
}
}
plugins {
id 'java'
id 'application'
id 'com.github.johnrengelman.shadow' version '1.2.3'
}
mainClassName = "ben.Main"
repositories {
jcenter()
}
dependencies {
compile "org.jogamp.gluegen:gluegen-rt:2.3.2"
compile "org.jogamp.jogl:jogl-all:2.3.2"
runtime "org.jogamp.gluegen:gluegen-rt:2.3.2:natives-android-aarch64"
runtime "org.jogamp.gluegen:gluegen-rt:2.3.2:natives-android-armv6"
runtime "org.jogamp.gluegen:gluegen-rt:2.3.2:natives-linux-amd64"
runtime "org.jogamp.gluegen:gluegen-rt:2.3.2:natives-linux-armv6"
runtime "org.jogamp.gluegen:gluegen-rt:2.3.2:natives-linux-armv6hf"
runtime "org.jogamp.gluegen:gluegen-rt:2.3.2:natives-linux-i586"
runtime "org.jogamp.gluegen:gluegen-rt:2.3.2:natives-macosx-universal"
runtime "org.jogamp.gluegen:gluegen-rt:2.3.2:natives-solaris-amd64"
runtime "org.jogamp.gluegen:gluegen-rt:2.3.2:natives-solaris-i586"
runtime "org.jogamp.gluegen:gluegen-rt:2.3.2:natives-windows-amd64"
runtime "org.jogamp.gluegen:gluegen-rt:2.3.2:natives-windows-i586"
runtime "org.jogamp.jogl:jogl-all:2.3.2:natives-android-aarch64"
runtime "org.jogamp.jogl:jogl-all:2.3.2:natives-android-armv6"
runtime "org.jogamp.jogl:jogl-all:2.3.2:natives-linux-amd64"
runtime "org.jogamp.jogl:jogl-all:2.3.2:natives-linux-armv6"
runtime "org.jogamp.jogl:jogl-all:2.3.2:natives-linux-armv6hf"
runtime "org.jogamp.jogl:jogl-all:2.3.2:natives-linux-i586"
runtime "org.jogamp.jogl:jogl-all:2.3.2:natives-macosx-universal"
runtime "org.jogamp.jogl:jogl-all:2.3.2:natives-solaris-amd64"
runtime "org.jogamp.jogl:jogl-all:2.3.2:natives-solaris-i586"
runtime "org.jogamp.jogl:jogl-all:2.3.2:natives-windows-amd64"
runtime "org.jogamp.jogl:jogl-all:2.3.2:natives-windows-i586"
}
jar {
manifest {
attributes 'Main-Class': "ben.Main"
}
}
task proguard(type: proguard.gradle.ProGuardTask) {
configuration 'proguard.txt'
injars "build/libs/jogl_gradle-all.jar"
outjars 'build/libs/proguard-jogl_gradle.jar'
}
shadowJar {
baseName = jar.baseName
manifest.attributes 'Application-Name': 'Sample App',
'Main-Class': 'ben.Main'
}
proguard.dependsOn shadowJar
build.dependsOn proguard