forked from kropp/intellij-qml
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbuild.gradle
46 lines (39 loc) · 908 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
40
41
42
43
44
45
46
buildscript {
ext.kotlin_version = '1.2.30'
repositories {
mavenCentral()
maven { url 'http://dl.bintray.com/jetbrains/intellij-plugin-service' }
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
plugins {
id "org.jetbrains.intellij" version "0.3.4"
}
apply plugin: 'kotlin'
apply plugin: 'java'
group 'name.kropp.intellij'
version '0.3.3'
intellij {
version '2019.1'
pluginName rootProject.name
updateSinceUntilBuild false
}
repositories {
mavenCentral()
}
sourceSets {
main {
java { srcDirs 'src/main/java', 'gen' }
kotlin.srcDir 'src/main/kotlin'
resources.srcDir 'src/main/resources'
}
test {
kotlin.srcDir 'src/test/kotlin'
}
}
dependencies {
compileOnly "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
testCompile "org.hamcrest:hamcrest-all:1.3"
}