forked from REPLicated/classpath-collision-detector
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
39 lines (32 loc) · 1.13 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
plugins {
`embedded-kotlin`
id("com.gradle.plugin-publish") version "1.2.0"
}
val javaVersion = JavaVersion.toVersion(
providers.fileContents(layout.projectDirectory.file(".java-version")).asText.get())
java {
sourceCompatibility = javaVersion
targetCompatibility = javaVersion
}
dependencies {
testImplementation("junit:junit:4.13.2")
testImplementation("org.assertj:assertj-core:3.23.1")
}
repositories {
mavenCentral()
}
group = "io.fuchs.gradle.classpath-collision-detector"
version = "0.3"
gradlePlugin {
plugins.create("classpathCollisionDetectorPlugin") {
id = "io.fuchs.gradle.classpath-collision-detector"
implementationClass = "io.fuchs.gradle.collisiondetector.CollisionDetectorPlugin"
displayName = "Classpath Collision Detector Plugin"
}
}
pluginBundle {
website = "https://github.com/REPLicated/classpath-collision-detector"
vcsUrl = "https://github.com/REPLicated/classpath-collision-detector"
description = "A Gradle plugin to detect potential classpath collisions between library jars."
tags = listOf("classpath", "collision", "duplicate", "detector")
}