-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
62 lines (54 loc) · 1.37 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
buildscript {
ext.kotlin_version = '1.3.10'
repositories {
jcenter()
mavenCentral()
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath 'com.google.protobuf:protobuf-gradle-plugin:0.8.6'
}
}
plugins {
id 'org.jetbrains.intellij' version '0.1.10'
id 'com.google.protobuf' version '0.8.6' apply false
}
allprojects {
apply plugin: 'java'
apply plugin: 'kotlin'
group = 'com.github.korniloval'
version = '0.8.2-SNAPSHOT'
}
repositories {
mavenCentral()
}
configurations {
intellij.updateSinceUntilBuild = false
intellij.downloadSources = false
intellij.pluginName = "Fierix"
intellij.version = "2018.2"
}
dependencies {
compile group: 'com.google.code.gson', name: 'gson', version: '2.8.1'
compile project('configuration')
compile project('protobuf')
testCompile project('agent')
}
task copyAgent(type: Copy, dependsOn: [':agent:agentJar', ':agent:proxyJar']) {
from 'agent/build/libs'
into 'src/main/generated-resources'
}
compileKotlin {
kotlinOptions {
jvmTarget = "1.8"
}
}
compileTestKotlin {
kotlinOptions {
jvmTarget = "1.8"
}
}
sourceSets.main.resources.srcDirs "src/main/resources", "src/main/generated-resources"