-
Notifications
You must be signed in to change notification settings - Fork 5
/
build.gradle
94 lines (82 loc) · 2.52 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
81
82
83
84
85
86
87
88
89
90
91
92
93
import org.gradle.internal.os.OperatingSystem
group 'org.openrndr.workshop'
version '1.0'
buildscript {
ext.kotlin_version = '1.3.0'
repositories {
mavenCentral()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
ext.orx_version = "0.0.19"
ext.rndr_version = '0.3.32-rc3'
ext.panel_version = '0.3.10'
ext.slf4j_version = '1.7.25'
ext.rndr_gl3_natives = ""
switch (OperatingSystem.current()) {
case OperatingSystem.WINDOWS:
ext.rndr_gl3_natives = "openrndr-gl3-natives-windows"
break
case OperatingSystem.MAC_OS:
ext.rndr_gl3_natives = "openrndr-gl3-natives-macos"
break
case OperatingSystem.LINUX:
ext.rndr_gl3_natives = "openrndr-gl3-natives-linux-x64"
break
}
allprojects {
apply plugin: 'java'
apply plugin: 'kotlin'
sourceCompatibility = 1.8
compileKotlin {
kotlinOptions.jvmTarget = "1.8"
}
compileTestKotlin {
kotlinOptions.jvmTarget = "1.8"
}
repositories {
mavenLocal()
mavenCentral()
maven {
url = "https://dl.bintray.com/openrndr/openrndr/"
}
maven { url "https://jitpack.io" }
}
dependencies {
compile "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
compile "org.openrndr:openrndr-core:$rndr_version"
compile "org.openrndr:openrndr-animatable:$rndr_version"
compile "org.openrndr:openrndr-svg:$rndr_version"
compile "org.openrndr:openrndr-ffmpeg:$rndr_version"
compile "org.openrndr:openrndr-extensions:$rndr_version"
compile "org.openrndr:openrndr-filter:$rndr_version"
//compile "org.openrndr.panel:openrndr-panel:$panel_version"
runtime "org.openrndr:openrndr-gl3:$rndr_version"
runtime "org.openrndr:$rndr_gl3_natives:$rndr_version"
implementation 'com.github.edwinRNDR:numate:2afc3cf338'
implementation 'com.github.openrndr.orx:orx-compositor:a3385abee0'
}
}
project(":toolkit") {
apply plugin: 'maven-publish'
publishing {
publications {
maven(MavenPublication) {
groupId = 'org.openrndr.workshop'
artifactId = 'toolkit'
version = '0.0.1-SNAPSHOT'
from components.java
}
}
}
}
repositories {
mavenLocal()
mavenCentral()
}
dependencies {
compile "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
testCompile group: 'junit', name: 'junit', version: '4.12'
}