-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
44 lines (37 loc) · 1.11 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
plugins {
id("java")
id("com.gradle.plugin-publish") version "1.2.1"
`java-gradle-plugin`
}
group = "io.github.glorrian"
version = "1.0.1"
repositories {
mavenCentral()
}
gradlePlugin {
website = "https://github.com/glorrian/cmake-gradle-plugin"
vcsUrl = "https://github.com/glorrian/cmake-gradle-plugin"
plugins {
create("CMakeGradlePlugin") {
id = "io.github.glorrian.cmake-gradle-plugin"
implementationClass = "io.github.glorrian.cmakegradleplugin.CMakePlugin"
displayName = "CMake Gradle Plugin"
description = "Gradle plugin for comfortable CMake build system using inside gradle builds"
tags.set(listOf("cmake", "jni", "c++", "c", "native"))
}
}
}
tasks.withType<Javadoc> {
(options as StandardJavadocDocletOptions).tags("implNote")
}
dependencies {
runtimeOnly(gradleApi())
testImplementation(platform("org.junit:junit-bom:5.10.2"))
testImplementation("org.junit.jupiter:junit-jupiter")
}
tasks.test {
useJUnitPlatform()
testLogging {
events("passed", "skipped", "failed")
}
}