forked from devent/jme-jfx-11
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
45 lines (35 loc) · 790 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 'java'
id 'maven'
id 'org.openjfx.javafxplugin' version '0.0.7'
}
javafx {
version = "11.0.2"
modules = [ 'javafx.controls' ]
}
group 'com.jayfella'
version '1.1.5'
sourceCompatibility = 11
repositories {
jcenter()
}
project.ext {
jmeVer = "3.2.3-stable"
slf4jVer = "1.7.25"
}
dependencies {
implementation "org.jmonkeyengine:jme3-core:$jmeVer"
implementation "org.jmonkeyengine:jme3-lwjgl3:$jmeVer"
implementation "org.slf4j:slf4j-api:$slf4jVer"
}
task sourcesJar(type: Jar, dependsOn: classes) {
classifier = 'sources'
from sourceSets.main.allSource
}
task javadocJar(type: Jar, dependsOn: javadoc) {
classifier = 'javadoc'
from javadoc.destinationDir
}
artifacts {
archives sourcesJar, javadocJar
}