forked from ostumpf/github-pr-viewer
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
57 lines (46 loc) · 1.3 KB
/
build.gradle
File metadata and controls
57 lines (46 loc) · 1.3 KB
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
53
54
55
56
57
buildscript {
repositories {
maven { url 'http://dl.bintray.com/jetbrains/intellij-plugin-service' }
}
}
plugins {
id "org.jetbrains.intellij" version "0.1.10"
}
repositories {
mavenCentral()
}
apply plugin: 'idea'
apply plugin: 'org.jetbrains.intellij'
apply plugin: 'java'
targetCompatibility = javaVersion
sourceCompatibility = javaVersion
tasks.withType(JavaCompile) { options.encoding = 'UTF-8' }
sourceSets {
main {
java.srcDir 'src/main/java'
resources.srcDir 'src/main/resources'
}
test {
java.srcDir 'src/test/java'
}
}
dependencies {
compile files('lib/diffparser-1.2.jar')
compile group: 'org.apache.httpcomponents', name: 'httpclient', version: '4.3.6'
compile group: 'org.slf4j', name: 'slf4j-simple', version: '1.7.6'
compile group: 'commons-logging', name: 'commons-logging', version: '1.2'
testCompile 'org.testng:testng:6.8.7'
testCompile 'org.easymock:easymock:3.2'
}
intellij {
version ideaVersion
pluginName 'github-pr-viewer'
updateSinceUntilBuild false
downloadSources Boolean.valueOf(downloadIdeaSources)
plugins 'git4idea', 'github'
publish {
channel ijPluginRepoChannel
username System.getenv('IJ_REPO_USERNAME')
password System.getenv('IJ_REPO_PASSWORD')
}
}