-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.gradle
76 lines (66 loc) · 1.43 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
buildscript {
ext.kotlin_version = "1.7.22"
repositories {
mavenCentral()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
plugins {
id "org.jetbrains.intellij" version "1.11.0"
}
intellij {
pluginName = project.name
version = "2022.3"
type = "PC"
updateSinceUntilBuild = false
downloadSources = true
plugins = ["python-ce"]
}
publishPlugin {
token = System.getenv("ORG_GRADLE_PROJECT_intellijPublishToken")
}
allprojects {
apply plugin: "org.jetbrains.intellij"
apply plugin: "kotlin"
apply plugin: "jacoco"
repositories {
mavenCentral()
}
compileKotlin {
kotlinOptions {
jvmTarget = "17"
languageVersion = "1.7"
apiVersion = "1.7"
}
}
compileTestKotlin {
kotlinOptions {
jvmTarget = "17"
languageVersion = "1.7"
apiVersion = "1.7"
}
}
dependencies {
testImplementation group: 'junit', name: 'junit', version: '4.13.2'
}
jacocoTestReport {
reports {
xml.enabled true
html.enabled true
}
}
sourceCompatibility = 17
targetCompatibility = 17
}
sourceSets {
main {
java.srcDir 'src'
resources.srcDir 'resources'
}
test {
java.srcDir 'testSrc'
resources.srcDir 'testData'
}
}