-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
71 lines (55 loc) · 1.87 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
group 'rndr.studio'
version '1.0.0-SNAPSHOT'
apply plugin: 'kotlin'
apply plugin: 'application'
mainClassName = "studio.rndr.DemoKt"
buildscript {
ext.kotlin_version = "1.2.30"
ext.openrndr_version = "0.3.3"
repositories {
jcenter()
mavenCentral()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
sourceCompatibility = 1.8
repositories {
mavenCentral()
maven {
url "https://dl.bintray.com/openrndr/openrndr"
}
maven {
url "file:./m2-repo/"
}
}
dependencies {
compile "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
runtime "org.openrndr:openrndr-gl3:$openrndr_version"
runtime "org.openrndr:openrndr-gl3-natives-windows:$openrndr_version"
compile "org.openrndr:openrndr-svg:$openrndr_version"
compile "org.openrndr:openrndr-filter:$openrndr_version"
compile "org.openrndr:openrndr-animatable:$openrndr_version"
//compile "org.openrndr:openrndr-ffmpeg:$openrndr_version"
compile 'com.google.code.gson:gson:2.8.2'
compile 'org.nativebass:nativebass:1.1.2'
runtime 'org.nativebass:nativebass-win64:1.1.2'
compile "com.github.jponge:lzma-java:1.3"
runtime group: 'org.slf4j', name: 'slf4j-simple', version: '1.7.25'
testCompile group: 'junit', name: 'junit', version: '4.12'
}
compileKotlin {
kotlinOptions.jvmTarget = "1.8"
}
compileTestKotlin { kotlinOptions.jvmTarget = "1.8" }
jar {
manifest {
attributes 'Main-Class': mainClassName
}
doFirst {
from { configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } }
from { configurations.runtime.collect { it.isDirectory() ? it : zipTree(it) } }
}
exclude 'META-INF/*.RSA', 'META-INF/*.SF', 'META-INF/*.DSA', '**/module-info*'
}