-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
45 lines (37 loc) · 926 Bytes
/
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
plugins {
id 'org.openjfx.javafxplugin' version '0.0.10'
}
repositories {
mavenLocal()
mavenCentral()
maven {
url 'https://repo.lemaik.de/'
}
}
sourceCompatibility = '1.8'
targetCompatibility = '1.8'
configurations {
implementation.extendsFrom(provided)
implementation.extendsFrom(bundled)
}
dependencies {
provided 'se.llbit:chunky-core:2.5.0-SNAPSHOT'
provided 'org.apache.commons:commons-math3:3.2'
provided 'it.unimi.dsi:fastutil:8.4.4'
bundled 'org.jocl:jocl:2.0.2'
}
javafx {
version = '17'
modules = ['javafx.base', 'javafx.controls', 'javafx.fxml']
configuration = 'provided'
}
processResources {
from "src/main/opencl/kernel/include", { into "kernel" }
from "src/main/opencl/tonemap/include", { into "tonemap" }
}
jar {
from {
configurations.bundled.collect { it.isDirectory() ? it : zipTree(it) }
}
}
defaultTasks 'jar'