-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
36 lines (30 loc) · 976 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
apply plugin: 'java'
version = '1.0'
repositories {
mavenCentral()
}
dependencies {
testCompile group: 'junit', name: 'junit', version: '4.11'
}
apply plugin: 'application'
mainClassName = "core.Runner"
jar {
manifest {
attributes 'Implementation-Title': 'MnemonicRevisionHelper',
'Implementation-Version': version,
'Main-Class': 'core.Runner'
}
}
/* Im using IntelliJ 13.1.6 and have problems with running the program
* from the IDE due to classpath issues. It seems to be a bug in IntelliJ.
* See https://code.google.com/p/android/issues/detail?id=64887
* and http://stackoverflow.com/questions/25513788/intellij-cant-find-classpath-test-resource
*
* If you are not using IntelliJ you may not need the below lines
*/
//
task copyResourcesIntelliJHack(type: Copy) {
from "${projectDir}/src/main/resources"
into "${buildDir}/classes/main"
}
processResources.dependsOn copyResourcesIntelliJHack