This repository has been archived by the owner on Jan 20, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
64 lines (52 loc) · 1.98 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
plugins {
id 'java'
id 'org.jetbrains.kotlin.jvm' version '1.1.4'
id 'org.jetbrains.intellij' version '0.2.17'
}
group 'be.maartenballiauw'
ext.kotlin_version = '1.1.4'
sourceCompatibility = 1.8
targetCompatibility = 1.8
tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).all {
kotlinOptions {
jvmTarget = "1.8"
}
}
intellij {
type = 'RD'
// Download a version of Rider to compile and run with. Either set `version` to
// 'LATEST-TRUNK-SNAPSHOT' or 'LATEST-EAP-SNAPSHOT' or a known version.
// This will download from www.jetbrains.com/intellij-repository/snapshots or
// www.jetbrains.com/intellij-repository/releases, respectively.
// Note that there's no guarantee that these are kept up to date
// version = 'LATEST-TRUNK-SNAPSHOT'
// If the build isn't available in intellij-repository, use an installed version via `localPath`
// localPath = '/Users/matt/Library/Application Support/JetBrains/Toolbox/apps/Rider/ch-1/171.4089.265/Rider EAP.app/Contents'
// localPath = "C:\\Users\\Ivan.Shakhov\\AppData\\Local\\JetBrains\\Toolbox\\apps\\Rider\\ch-0\\171.4456.459"
// localPath = "C:\\Users\\ivan.pashchenko\\AppData\\Local\\JetBrains\\Toolbox\\apps\\Rider\\ch-0\\dev"
def dir = file('dependencies')
if (dir.exists()) {
localPath = dir.absolutePath
}
else {
version = 'LATEST-TRUNK-SNAPSHOT' // 2017.2 RTM
}
// Sources aren't available for Rider
downloadSources = false
}
repositories {
mavenCentral()
}
dependencies {
compile group: 'org.dom4j', name: 'dom4j', version: '2.0.1'
testCompile 'junit:junit:4.12'
testCompile group: 'org.xmlunit', name: 'xmlunit-core', version: '2.4.0'
testCompile group: 'org.xmlunit', name: 'xmlunit-matchers', version: '2.4.0'
testCompile "org.jetbrains.kotlin:kotlin-test-junit:$kotlin_version"
}
runIde {
systemProperties = [
'rider.debug.mono.debug': true,
'rider.debug.mono.allowConnect': true
]
}