forked from devent/jme-jfx-11
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
57 lines (46 loc) · 1.01 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
plugins {
id 'java'
id 'maven-publish'
id 'org.openjfx.javafxplugin' version '0.0.7'
}
javafx {
version = "11.0.2"
modules = [ 'javafx.controls' ]
}
group 'com.myworldvw'
version '1.1.9'
java {
toolchain {
languageVersion = JavaLanguageVersion.of(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
}
publishing {
publications {
maven(MavenPublication) {
groupId = project.group
artifactId = 'jme-jfx-11'
version = project.version
from components.java
}
}
}