This repository has been archived by the owner on Dec 28, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 27
/
build.gradle
90 lines (75 loc) · 2.17 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 = "1.3.60"
repositories {
mavenCentral()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "com.github.viswaramamoorthy:gradle-util-plugins:0.1.0-RELEASE"
}
}
plugins {
id "org.jetbrains.intellij" version "0.4.13"
}
// Workaround too long command line for JavaExec
// https://github.com/viswaramamoorthy/gradle-util-plugins
// https://github.com/gradle/gradle/issues/1989
apply plugin: 'ManifestClasspath'
intellij {
version idea_version
pluginName 'CloudFormation'
plugins 'yaml'
updateSinceUntilBuild false
}
allprojects {
apply plugin: 'kotlin'
repositories {
mavenCentral()
}
compileKotlin {
kotlinOptions {
jvmTarget = "1.8"
}
}
compileTestKotlin {
kotlinOptions {
jvmTarget = "1.8"
}
}
dependencies {
compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
compile 'com.thoughtworks.xstream:xstream:1.4.10'
}
sourceCompatibility = 1.8
targetCompatibility = 1.8
}
project(':metadata-crawler') {
dependencies {
compile rootProject
compile 'commons-io:commons-io:2.4'
compile 'org.apache.commons:commons-lang3:3.3.2'
compile 'net.htmlparser.jericho:jericho-html:3.3'
compile 'org.jsoup:jsoup:1.8.1'
compile 'org.apache.directory.studio:org.apache.commons.codec:1.8'
compile 'com.google.code.gson:gson:2.8.5'
}
task collectMetadata(type: JavaExec, dependsOn: classes) {
main = 'MetadataCrawlerMain'
workingDir = rootDir
systemProperty "file.encoding", "UTF-8"
classpath sourceSets.main.runtimeClasspath
}
}
task printIdeaVersionToTeamCity(type: JavaExec, dependsOn: testClasses) {
main = 'com.intellij.aws.cloudformation.tests.PrintIdeaVersionToTeamCity'
workingDir = rootDir
systemProperty "file.encoding", "UTF-8"
classpath sourceSets.test.runtimeClasspath
}
task printVersion {
println 'version = ' + version
}
wrapper {
gradleVersion = '6.0.1'
distributionType = Wrapper.DistributionType.ALL
}