-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
48 lines (37 loc) · 1.06 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
// dotenv plugin
plugins {
kotlin("jvm") version libs.versions.kotlin
alias(libs.plugins.plugin.publish)
}
assert(JavaVersion.current().isCompatibleWith(JavaVersion.VERSION_17))
group = "com.sinch.gradle"
version = "0.1.0"
repositories {
mavenCentral()
gradlePluginPortal()
}
dependencies {
implementation(libs.gradle.docker.plugin)
testImplementation(libs.kotest.runner.junit5)
testImplementation(libs.kotest.assertions.core)
}
tasks.test {
useJUnitPlatform()
jvmArgs("--add-opens=java.base/java.lang=ALL-UNNAMED")
}
val gitRepoUrl = "https://github.com/sinch/gradle-docker-helper"
@Suppress("UnstableApiUsage")
gradlePlugin {
website = gitRepoUrl
vcsUrl = "$gitRepoUrl.git"
plugins {
create("dockerHelperPlugin") {
id = "$group.${rootProject.name}"
displayName = "Gradle Docker helper"
description =
"A plugin simplifying Docker task configuration."
tags = listOf("docker")
implementationClass = "$id.DockerHelperPlugin"
}
}
}