-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathbuild.gradle
90 lines (75 loc) · 2.11 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
buildscript {
ext.kotlin_version = kotlinVersion
repositories {
mavenCentral()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
plugins {
id 'org.jetbrains.intellij' version '0.4.7'
}
apply plugin: 'org.jetbrains.intellij'
allprojects {
apply plugin: 'java'
apply plugin: 'kotlin'
sourceCompatibility = javaVersion
targetCompatibility = javaVersion
}
allprojects {
repositories {
mavenCentral()
}
}
intellij {
version '2019.1'
pluginName 'Context Helper'
intellij.updateSinceUntilBuild false
}
sourceSets {
main {
java {
srcDirs = ['src/main/java/']
}
resources {
srcDirs = ['resources/', 'data/']
}
}
test {
java.srcDir 'src/test/java/'
}
}
jar {
from {
configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }
}
baseName = "context-helper-1.0"
}
dependencies {
compile project(":log-def")
compileOnly 'com.google.code.gson:gson:2.8.2'
compile group: 'org.swinglabs', name: 'swingx', version: '1.6.1'
compile group: 'com.googlecode.stackexchange', name: 'stackoverflow-java-sdk-release', version: '2.2.0'
compile group: 'com.google.apis', name: 'google-api-services-customsearch', version: 'v1-rev57-1.23.0'
compile group: 'org.apache.httpcomponents', name: 'httpclient', version: '4.5.5'
compile group: 'org.jsoup', name: 'jsoup', version: '1.11.3'
}
allprojects {
dependencies {
compileOnly "org.jetbrains.kotlin:kotlin-stdlib:$kotlinVersion"
compileOnly "org.jetbrains.kotlin:kotlin-runtime:$kotlinVersion"
compileOnly "org.jetbrains.kotlin:kotlin-reflect:$kotlinVersion"
testCompile group: 'junit', name: 'junit', version: '4.12'
testCompile group: 'com.google.truth', name: 'truth', version: '0.36'
}
configurations {
testCompile.extendsFrom compileOnly
}
compileKotlin {
kotlinOptions.jvmTarget = javaVersion
}
compileTestKotlin {
kotlinOptions.jvmTarget = javaVersion
}
}