forked from tonybaloney/pycharm-security
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
70 lines (60 loc) · 1.62 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
plugins {
id 'java'
id 'org.jetbrains.intellij' version '1.8.0'
id 'org.jetbrains.kotlin.jvm' version '1.7.10'
id 'jacoco'
id 'org.kordamp.gradle.markdown' version '2.2.0'
}
group 'org.tonybaloney.security'
version '1.26.0'
def ktor_version = "2.1.0"
def kotlin_version = "1.7.10"
repositories {
mavenCentral()
}
dependencies {
testCompile group: 'org.junit.jupiter', name: 'junit-jupiter', version: '5.9.0'
testImplementation "org.mockito.kotlin:mockito-kotlin:4.0.0"
testImplementation 'net.bytebuddy:byte-buddy:1.12.13'
testImplementation 'net.bytebuddy:byte-buddy-agent:1.12.13'
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
compile "io.ktor:ktor-client-core:$ktor_version"
compile "io.ktor:ktor-client-apache:$ktor_version"
compile "io.ktor:ktor-client-gson:$ktor_version"
testImplementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
}
test {
useJUnitPlatform()
dependsOn 'cleanTest'
}
intellij {
type = 'PC'
plugins = ['python-ce', 'yaml']
updateSinceUntilBuild = false
version = '2022.2'
}
patchPluginXml {
changeNotes = """
<h2>1.26.0</h2>
<ul>
<li>Support for 2022.2</li>
</ul>
"""
}
publishPlugin {
token = intellijPublishToken
// channels 'beta'
}
jacocoTestReport {
reports {
xml.enabled true
html.enabled false
csv.enabled false
}
}
markdownToHtml {
sourceDir file("doc/checks/")
outputDir file("src/main/resources/docs")
fencedCodeBlocks true
}