-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle.kts
54 lines (45 loc) · 1.3 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
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
`java-gradle-plugin`
`kotlin-dsl`
`maven-publish`
kotlin("jvm") version "1.5.31"
id("com.gradle.plugin-publish") version "0.18.0"
}
group = "io.shiftleft"
version = "0.7"
pluginBundle {
website = "https://github.com/ShiftLeftSecurity/gather-dependencies-gradle-plugin"
vcsUrl = "https://github.com/ShiftLeftSecurity/gather-dependencies-gradle-plugin"
tags = listOf("dependencies")
}
repositories {
mavenCentral()
google()
}
dependencies {
testImplementation("org.junit.jupiter:junit-jupiter:5.8.1")
testImplementation("org.assertj:assertj-core:3.23.1")
testImplementation(kotlin("test"))
implementation(kotlin("stdlib"))
}
tasks.test {
useJUnitPlatform()
}
tasks.withType<KotlinCompile> {
kotlinOptions.jvmTarget = "1.8"
}
java {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
gradlePlugin {
plugins {
create("gather-dependencies") {
id = "io.shiftleft.gather-dependencies"
displayName = "Gather Dependencies"
description = "Copy all the dependency jars of a project into a destination directory"
implementationClass = "io.shiftleft.GatherDependenciesPlugin"
}
}
}