-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
80 lines (70 loc) · 3.28 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
75
76
77
78
79
80
plugins {
id 'java'
id 'application'
id 'net.nemerosa.versioning' version '2.8.2'
}
sourceCompatibility = '1.8'
targetCompatibility = '1.8'
mainClassName = 'info.kriese.sopra.SoPraLOP'
def title = 'Software-Praktikum Lineare Optimierung'
def author = 'Michael Kriese & Peer Sterner'
version = '2.0.0-beta.1'
repositories {
flatDir {
dirs 'lib'
}
jcenter()
}
dependencies {
implementation 'org.jogamp.gluegen:gluegen-rt:2.3.2'
implementation 'org.jogamp.jogl:jogl-all:2.3.2'
implementation fileTree(include: ['*.jar'], dir: 'libs')
runtimeOnly 'org.jogamp.gluegen:gluegen-rt:2.3.2:natives-android-aarch64'
runtimeOnly 'org.jogamp.gluegen:gluegen-rt:2.3.2:natives-android-armv6'
runtimeOnly 'org.jogamp.gluegen:gluegen-rt:2.3.2:natives-linux-amd64'
runtimeOnly 'org.jogamp.gluegen:gluegen-rt:2.3.2:natives-linux-armv6'
runtimeOnly 'org.jogamp.gluegen:gluegen-rt:2.3.2:natives-linux-armv6hf'
runtimeOnly 'org.jogamp.gluegen:gluegen-rt:2.3.2:natives-linux-i586'
runtimeOnly 'org.jogamp.gluegen:gluegen-rt:2.3.2:natives-macosx-universal'
runtimeOnly 'org.jogamp.gluegen:gluegen-rt:2.3.2:natives-solaris-amd64'
runtimeOnly 'org.jogamp.gluegen:gluegen-rt:2.3.2:natives-solaris-i586'
runtimeOnly 'org.jogamp.gluegen:gluegen-rt:2.3.2:natives-windows-amd64'
runtimeOnly 'org.jogamp.gluegen:gluegen-rt:2.3.2:natives-windows-i586'
runtimeOnly 'org.jogamp.jogl:jogl-all:2.3.2:natives-android-aarch64'
runtimeOnly 'org.jogamp.jogl:jogl-all:2.3.2:natives-android-armv6'
runtimeOnly 'org.jogamp.jogl:jogl-all:2.3.2:natives-linux-amd64'
runtimeOnly 'org.jogamp.jogl:jogl-all:2.3.2:natives-linux-armv6'
runtimeOnly 'org.jogamp.jogl:jogl-all:2.3.2:natives-linux-armv6hf'
runtimeOnly 'org.jogamp.jogl:jogl-all:2.3.2:natives-linux-i586'
runtimeOnly 'org.jogamp.jogl:jogl-all:2.3.2:natives-macosx-universal'
runtimeOnly 'org.jogamp.jogl:jogl-all:2.3.2:natives-solaris-amd64'
runtimeOnly 'org.jogamp.jogl:jogl-all:2.3.2:natives-solaris-i586'
runtimeOnly 'org.jogamp.jogl:jogl-all:2.3.2:natives-windows-amd64'
runtimeOnly 'org.jogamp.jogl:jogl-all:2.3.2:natives-windows-i586'
}
jar {
manifest {
attributes(
'Main-Class' : mainClassName,
'Built-By' : System.properties['user.name'],
'Build-Timestamp': new java.text.SimpleDateFormat('yyyy-MM-dd\'T\'HH:mm:ss.SSSZ').format(new Date()),
'Build-Revision' : "${versioning.info.full}",
'Created-By' : "Gradle ${gradle.gradleVersion}",
'Build-Jdk' : "${System.properties['java.version']} (${System.properties['java.vendor']} ${System.properties['java.vm.version']})",
'Build-OS' : "${System.properties['os.name']} ${System.properties['os.arch']} ${System.properties['os.version']}",
'Specification-Title': title,
'Specification-Vendor': author,
'Specification-Version': '2.0',
'Implementation-Title': title,
'Implementation-Vendor': author,
'Implementation-Version': version
)
}
}
processResources {
with copySpec {
from 'sopra.properties'
filter(ReplaceTokens, tokens: [version: version, title: title, author: author])
}
}
import org.apache.tools.ant.filters.ReplaceTokens