-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
54 lines (43 loc) · 1.04 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
apply plugin: 'base'
apply plugin: 'idea'
apply plugin: 'java'
apply plugin: 'application'
apply plugin: 'findbugs'
group = 'com.rainmc'
version = appVersion
mainClassName = 'com.rainmc.RainLauncher.App'
repositories {
mavenLocal()
maven { url 'http://repo2.maven.org/maven2/' }
mavenCentral()
}
dependencies {
compile 'com.jfoenix:jfoenix:1.0.0'
testCompile group: 'junit', name: 'junit', version: '4.+'
}
tasks.withType(JavaCompile) {
options.encoding = "UTF-8"
}
sourceCompatibility = jdkVersion
targetCompatibility = jdkVersion
sourceSets {
main {
java {
srcDirs = ['src/main/java']
}
resources {
// srcDirs = ['src/main/java']
srcDirs = ['src/main/resources']
}
}
}
jar {
baseName = 'RainLauncher'
version = appVersion
manifest {
attributes 'Main-Class': 'com.rainmc.RainLauncher.App'
}
}
task wrapper(type: Wrapper, description: 'Creates and deploys the Gradle wrapper to the current directory.') {
gradleVersion = '2.14.1'
}