-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathbuild.gradle.kts
47 lines (40 loc) · 1.04 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
/*
Copyright © 2020-2025 Petr Panteleyev <[email protected]>
SPDX-License-Identifier: BSD-2-Clause
*/
group = "org.panteleyev"
version = "1.6.1"
plugins {
java
`java-gradle-plugin`
`maven-publish`
id("com.gradle.plugin-publish") version "1.3.1"
}
repositories {
mavenCentral()
}
dependencies {
testImplementation("org.junit.jupiter:junit-jupiter:5.11.4")
}
java {
toolchain {
languageVersion.set(JavaLanguageVersion.of(8))
}
}
gradlePlugin {
val jpackage by plugins.creating {
id = "org.panteleyev.jpackageplugin"
version = project.version
displayName = "JPackage Gradle Plugin"
description = "A plugin that executes jpackage tool from JDK-14+"
implementationClass = "org.panteleyev.jpackage.JPackageGradlePlugin"
}
}
pluginBundle {
website = "https://github.com/petr-panteleyev/jpackage-gradle-plugin"
vcsUrl = "https://github.com/petr-panteleyev/jpackage-gradle-plugin.git"
tags = listOf("jpackage")
}
tasks.withType<Test> {
useJUnitPlatform()
}