-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathbuild.gradle
59 lines (49 loc) · 1.7 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
apply plugin: 'java'
sourceCompatibility = 1.7
targetCompatibility = 1.7
[compileJava, compileTestJava, javadoc]*.options*.encoding = 'UTF-8'
repositories {
jcenter()
}
// 定义jME3的组织与版本号。更新jME3依赖时,直接修改版本号即可。
def jme3 = [g:'org.jmonkeyengine', v:'3.1.0-stable']
dependencies {
// 将libs文件夹下所有jar文件添加到classpath
compile fileTree(dir: 'libs', include: ['*.jar'])
// Logger组件
compile 'org.slf4j:slf4j-api:1.7.21'
compile 'org.slf4j:jcl-over-slf4j:1.7.21'
/**
* jMonkeyEngine3
*/
// jME3桌面开发核心组件
compile "$jme3.g:jme3-core:$jme3.v"
compile "$jme3.g:jme3-desktop:$jme3.v"
compile "$jme3.g:jme3-lwjgl:$jme3.v"
compile "$jme3.g:jme3-jogl:$jme3.v"
// 水面、粒子特效等
compile "$jme3.g:jme3-effects:$jme3.v"
// 支持ogg音频格式
compile "$jme3.g:jme3-jogg:$jme3.v"
// 支持blend模型文件
compile "$jme3.g:jme3-blender:$jme3.v"
compile "$jme3.g:jme3-plugins:$jme3.v"
// 支持高度图地形
compile "$jme3.g:jme3-terrain:$jme3.v"
// 支持bullet 3D物理引擎
compile "$jme3.g:jme3-bullet:$jme3.v"
compile "$jme3.g:jme3-bullet-native:$jme3.v"
// 支持dyn4j 2D物理引擎
//compile 'org.dyn4j:dyn4j:3.2.3'
/**
* Lemur用于制作jME3的GUI
*/
compile "com.simsilica:lemur:1.10.1"
compile "com.simsilica:lemur-proto:1.9.1"
// Lemur支持使用 groovy脚本编写的样式文件,(可选)。
compile 'org.codehaus.groovy:groovy-all:2.4.10'
/**
* JUnit单元测试
*/
testCompile 'junit:junit:4.12'
}