-
-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathbuild.gradle
80 lines (67 loc) · 1.64 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 'org.openjfx.javafxplugin' version '0.0.10'
id 'maven-publish'
}
jar.enabled = false
sourceCompatibility = '1.8'
targetCompatibility = '1.8'
configurations {
implementation.extendsFrom(provided)
implementation.extendsFrom(bundled)
}
dependencies {
provided 'se.llbit:chunky-core:2.4.0'
provided 'org.apache.commons:commons-math3:3.2'
provided 'it.unimi.dsi:fastutil:8.4.4'
provided 'se.llbit:jo-json:1.3.1'
}
task pluginJar(type: Jar) {
with jar
}
jar {
manifest {
attributes "Main-Class": "de.lemaik.chunky.denoiser.DenoiserPlugin"
}
from {
configurations.bundled.collect { it.isDirectory() ? it : zipTree(it) }
}
}
javafx {
version = '17'
modules = ['javafx.base', 'javafx.controls', 'javafx.fxml']
configuration = 'provided'
}
repositories {
mavenLocal()
mavenCentral()
maven {
url 'https://repo.lemaik.de/'
}
}
task javadocJar(type: Jar) {
classifier = 'javadoc'
from javadoc
}
task sourcesJar(type: Jar) {
classifier = 'sources'
from sourceSets.main.allSource
}
publishing {
publications {
mavenJava(MavenPublication) {
groupId = 'de.lemaik'
artifactId = 'chunky-denoiser'
version = '0.5.0'
from components.java
pom {
name = 'chunky-denoiser'
licenses {
license {
name = 'GNU General Public License v3.0 (GPL-3.0)'
url = 'https://github.com/chunky-dev/chunky-denoiser/blob/master/LICENSE'
}
}
}
}
}
}