forked from mjedynak/builder-generator-idea-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
39 lines (32 loc) · 984 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
apply plugin: 'groovy'
apply plugin: 'idea'
apply from: 'idea.gradle'
apply plugin: 'checkstyle'
// --- properties ---
ext.ideaInstallationPath = 'C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2017.3.2'
ext.ideaJdk = 'IntelliJ IDEA Community Edition IC-173.4127.27'
sourceCompatibility = 1.8
// --- properties ---
// workaround for http://issues.gradle.org/browse/GRADLE-2538
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-core:2.0.3-beta'
testCompile 'org.assertj:assertj-core:1.7.1'
testCompile 'org.springframework:spring-test:4.0.0.RELEASE'
}
jar {
metaInf {
from('/META-INF') {
include 'plugin.xml'
}
}
}
task wrapper(type: Wrapper) {
gradleVersion = '3.0'
}