-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
29 lines (24 loc) · 943 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
apply plugin: 'groovy'
apply plugin: 'idea'
apply from: 'idea.gradle'
// --- properties ---
ideaInstallationPath = 'C:/Program Files (x86)/JetBrains/IntelliJ IDEA Community Edition 11.0'
ideaJdk = 'IDEA IC-111.167'
sourceCompatibility = 1.6
// --- properties ---
// hack for gradle bug http://issues.gradle.org/browse/GRADLE-1190
sourceSets.main.java.srcDirs = []
sourceSets.main.groovy.srcDir 'src/main/java'
repositories {
mavenCentral()
mavenLocal()
}
dependencies {
compile fileTree(dir: ideaInstallationPath + '/lib', include: '*.jar')
testCompile 'org.mockito:mockito-all:1.9.0'
testCompile 'org.springframework:spring-test:3.1.0.RELEASE'
testCompile 'org.springframework:spring-core:3.1.0.RELEASE'
testCompile "org.spockframework:spock-core:0.5-groovy-1.7"
groovy group: 'org.codehaus.groovy', name: 'groovy', version: '1.7.3'
}
metaInf << files('/META-INF/plugin.xml')