forked from suhininalex/IdeaClonePlugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
59 lines (51 loc) · 1.24 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
buildscript {
ext.kotlin_version = '1.1.3'
repositories {
mavenCentral()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
plugins {
id "org.jetbrains.intellij" version "0.2.14"
}
apply plugin: 'idea'
apply plugin: 'kotlin'
apply plugin: 'org.jetbrains.intellij'
apply plugin: 'java'
intellij {
version 'IC-171.1834.9' //IntelliJ IDEA 2016.3 dependency; for a full list of IntelliJ IDEA releases please see https://www.jetbrains.com/intellij-repository/releases
pluginName 'Duplicate detector'
updateSinceUntilBuild false
}
group 'org.jetbrains'
version '1.2'
repositories {
mavenCentral()
}
dependencies {
compile "org.jetbrains.kotlin:kotlin-reflect:$kotlin_version"
compile "org.jetbrains.kotlin:kotlin-stdlib-jre8:$kotlin_version"
compile fileTree(dir: 'lib', include: '*.jar')
}
sourceSets {
main {
java {
srcDir 'src/main/'
}
resources {
srcDir 'resources/'
}
}
test {
java {
srcDir 'src/test'
}
}
}
runIde.doFirst {
if (this.properties.get("maxHeapSize") != null) {
runIde.maxHeapSize = this.properties.get("maxHeapSize")
}
}