-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
52 lines (45 loc) · 1.01 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
buildscript {
repositories {
mavenCentral()
maven {
url "https://oss.sonatype.org/content/repositories/snapshots/"
}
maven {
url 'http://dl.bintray.com/jetbrains/intellij-plugin-service'
}
}
dependencies {
classpath "org.jetbrains.intellij.plugins:gradle-intellij-plugin:0.2.0-SNAPSHOT"
}
}
apply plugin: 'org.jetbrains.intellij'
apply plugin: 'java'
repositories {
mavenCentral()
}
dependencies {
testCompile "pl.pragmatists:JUnitParams:1.0.5"
}
sourceCompatibility = javaVersion
targetCompatibility = javaVersion
tasks.withType(JavaCompile) { options.encoding = 'UTF-8' }
sourceSets {
main {
java.srcDir 'src/main'
resources.srcDir 'resources'
}
test {
java.srcDir 'src/test'
}
}
intellij {
version ideaVersion
pluginName 'EnforceBracketStyle'
updateSinceUntilBuild false
downloadSources Boolean.valueOf(downloadIdeaSources)
publish {
channels publishChannels.split(',')
username publishUsername
password publishPassword
}
}