-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
41 lines (35 loc) · 874 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
apply plugin: 'java'
apply plugin: 'application'
apply plugin: 'checkstyle'
apply plugin: 'eclipse'
sourceCompatibility = 1.8
version = '0.1'
mainClassName = 'com.skraylabs.poker.Application'
jar {
manifest {
attributes 'Implementation-Title': 'Poker Calculator',
'Implementation-Version': version,
'Main-Class': mainClassName
}
}
repositories {
mavenCentral()
}
dependencies {
compile group: 'org.apache.commons', name: 'commons-lang3', version: '3.4'
testCompile group: 'junit', name: 'junit', version: '4.12'
}
checkstyle {
configFile = file("${project.rootDir}/config/checkstyle/google_checks.xml")
toolVersion = '6.7'
}
eclipse {
pathVariables 'GRADLE_USER_HOME': gradle.gradleUserHomeDir
}
uploadArchives {
repositories {
flatDir {
dirs 'repos'
}
}
}