-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
71 lines (57 loc) · 1.88 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
plugins {
id "com.github.ben-manes.versions" version "0.42.0"
id "org.jetbrains.kotlin.jvm" version "$kotlinVersion"
}
apply plugin: 'kotlin'
apply plugin: 'maven'
repositories {
maven { url "https://jitpack.io" }
google()
mavenLocal()
mavenCentral()
}
sourceCompatibility = 1.8
targetCompatibility = 1.8
def jmeVersion = "3.5.2-stable"
def chimpUtilsVersion = "1.7.0"
def ouistitiVersion = "2.1.1"
def jacksonVersion = "2.13.2"
dependencies {
// Kotlin
compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlinVersion"
compile "org.jetbrains.kotlin:kotlin-reflect:$kotlinVersion"
// jme
compile "org.jmonkeyengine:jme3-core:$jmeVersion"
compile "org.jmonkeyengine:jme3-desktop:$jmeVersion"
compile "org.jmonkeyengine:jme3-lwjgl3:$jmeVersion"
compile "org.jmonkeyengine:jme3-plugins:$jmeVersion"
// jme libs
compile "com.github.benckx:ouistiti:$ouistitiVersion"
compile "com.github.benckx.chimp-utils:chimp-utils-basics:$chimpUtilsVersion"
compile "com.github.benckx.chimp-utils:chimp-utils-jme3:$chimpUtilsVersion"
// logging
compile "org.slf4j:slf4j-api:1.7.36"
compile "ch.qos.logback:logback-classic:1.2.11"
compile "ch.qos.logback:logback-core:1.2.11"
// utils
compile "org.apache.commons:commons-text:1.9"
compile "com.github.guepardoapps:kulid:2.0.0.0"
// persistence
compile "com.fasterxml.jackson.dataformat:jackson-dataformat-xml:$jacksonVersion"
compile "com.fasterxml.jackson.module:jackson-module-kotlin:$jacksonVersion"
}
def mainClass = "be.encelade.viewer.MainKt"
jar {
setArchivesBaseName("jme-viewer")
manifest {
attributes 'Main-Class': "$mainClass"
}
from {
configurations.runtimeClasspath.collect {
it.isDirectory() ? it : zipTree(it)
}
}
exclude 'org/testng/**'
exclude 'org/opentest4j/**'
exclude 'module-info.class'
}