-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
41 lines (29 loc) · 945 Bytes
/
build.gradle
File metadata and controls
41 lines (29 loc) · 945 Bytes
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
import com.onemillionworlds.DeepTokenifyDirectory
import com.onemillionworlds.DeepTokenifyFile
plugins {
id 'java'
}
group = 'com.onemillionworlds'
version = '1.0-SNAPSHOT'
repositories {
mavenCentral()
}
def jme3 = [v:'3.6.1-stable', g:'org.jmonkeyengine']
sourceSets.main.resources.srcDirs += 'src/main/generated/resources'
dependencies {
testImplementation platform('org.junit:junit-bom:5.9.1')
testImplementation 'org.junit.jupiter:junit-jupiter'
implementation "${jme3.g}:jme3-core:${jme3.v}"
implementation "${jme3.g}:jme3-lwjgl3:${jme3.v}"
implementation "${jme3.g}:jme3-desktop:${jme3.v}"
}
tasks.register("generateModels", DeepTokenifyDirectory){
inputDirectory = file('src/main/resources/examples')
outputDirectory= file('src/main/generated/resources/Models/examples')
tokenWidth = 5f
tokenDepth = 0.5f
}
test {
useJUnitPlatform()
}
processResources.dependsOn(generateModels)