forked from Jeddic/particlemonkey
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
51 lines (39 loc) · 845 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
46
47
48
49
50
51
buildscript {
repositories {
jcenter()
mavenCentral()
}
}
plugins {
id 'java-library'
}
allprojects {
repositories {
jcenter()
}
apply plugin: 'java'
}
group = 'com.epaga'
ext {
jmonkeyengine_version = '[3.2,)'
}
version = '1.0.3'
sourceCompatibility = 1.8
dependencies {
testImplementation group: 'junit', name: 'junit', version: '4.12'
implementation "org.jmonkeyengine:jme3-core:$jmonkeyengine_version"
implementation "org.jmonkeyengine:jme3-effects:$jmonkeyengine_version"
}
task sourcesJar(type: Jar) {
classifier = 'sources'
from sourceSets.main.allSource
exclude '**/.backups'
}
task javadocJar(type: Jar, dependsOn: javadoc) {
classifier = 'javadoc'
from javadoc.destinationDir
}
artifacts {
archives sourcesJar
archives javadocJar
}