This repository has been archived by the owner on Feb 9, 2022. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathbuild.gradle
84 lines (73 loc) · 1.81 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
buildscript {
ext.kotlin_version = "1.5.30"
ext.toml_version = "0.2.154.4085-212"
ext.tuweni_toml_version = "2.0.0"
ext.jvm_version = "11"
ext.language_version = "1.3"
repositories {
mavenCentral()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version", "org.apache.tuweni:tuweni-toml:$tuweni_toml_version"
}
}
plugins {
id "org.jetbrains.intellij" version "1.1.6"
}
intellij {
pluginName = project.name
version = "2021.2.1"
type = "PC"
updateSinceUntilBuild = false
downloadSources = true
plugins = ["python-ce", "org.toml.lang:$toml_version"]
}
patchPluginXml {
sinceBuild = "212.4746.13"
untilBuild = "212.*"
}
allprojects {
apply plugin: "org.jetbrains.intellij"
apply plugin: "kotlin"
apply plugin: "jacoco"
repositories {
mavenCentral()
}
compileKotlin {
kotlinOptions {
jvmTarget = jvm_version
languageVersion = language_version
apiVersion = language_version
}
}
compileTestKotlin {
kotlinOptions {
jvmTarget = jvm_version
languageVersion = language_version
apiVersion = language_version
}
}
dependencies {
testImplementation 'junit:junit:4.13.2'
implementation "org.apache.tuweni:tuweni-toml:$tuweni_toml_version"
compile "org.jetbrains:annotations:23.0.0"
}
jacocoTestReport {
reports {
xml.enabled true
html.enabled true
}
}
sourceCompatibility = jvm_version
targetCompatibility = jvm_version
}
sourceSets {
main {
java.srcDir 'src'
resources.srcDir 'resources'
}
test {
java.srcDir 'testSrc'
resources.srcDir 'testData'
}
}