-
Notifications
You must be signed in to change notification settings - Fork 6
/
build.gradle.kts
86 lines (77 loc) · 2 KB
/
build.gradle.kts
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
import org.jetbrains.kotlin.gradle.dsl.JvmTarget
plugins {
alias(libs.plugins.kotlin)
alias(libs.plugins.kover)
alias(libs.plugins.pluginPublish)
alias(libs.plugins.changelog)
}
repositories {
mavenLocal()
gradlePluginPortal()
}
dependencies {
implementation(gradleKotlinDsl())
implementation(libs.commonsIO)
implementation(libs.snakeyaml)
testImplementation(libs.jupiter)
testImplementation(libs.jupiterParams)
testImplementation(libs.assertj)
testImplementation(libs.wiremock)
}
java {
targetCompatibility = JavaVersion.VERSION_11
}
tasks {
test {
useJUnitPlatform()
}
compileKotlin {
compilerOptions {
jvmTarget = JvmTarget.JVM_11
}
}
}
gradlePlugin {
website = "https://github.com/PrzemyslawSwiderski/python-gradle-plugin"
vcsUrl = "https://github.com/PrzemyslawSwiderski/python-gradle-plugin"
plugins {
create("python-gradle-plugin") {
id = "com.pswidersk.python-plugin"
implementationClass = "com.pswidersk.gradle.python.PythonPlugin"
displayName = "Plugin to run Python projects in Conda virtual env. "
.plus("https://github.com/PrzemyslawSwiderski/python-gradle-plugin")
description = "Plugin to setup Python and run scripts in Conda virtual environments."
tags = listOf(
"python",
"venv",
"numpy",
"conda",
"miniconda",
"anaconda",
"scipy",
"pandas",
"flask",
"matplotlib",
"sklearn"
)
}
}
}
publishing {
repositories {
mavenLocal()
}
}
// Configuring changelog Gradle plugin https://github.com/JetBrains/gradle-changelog-plugin
changelog {
groups = listOf("Added", "Changed", "Removed")
}
kover {
reports {
total {
xml {
onCheck = true
}
}
}
}