-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.gradle
75 lines (67 loc) · 2.06 KB
/
build.gradle
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
plugins {
id 'java-gradle-plugin'
id 'maven-publish'
id 'groovy'
id 'java'
}
gradlePlugin {
plugins {
kahpp {
id = "dev.vox.platform.kahpp"
implementationClass = "dev.vox.platform.kahpp.gradle.plugin.KaHPPGradlePlugin"
}
}
}
publishing {
publications {
pluginMaven(MavenPublication) {
pom {
name = artifactId
description = "The Gradle Plugin to maximize the usage of Kahpp"
url = "https://github.com/GetFeedback/kahpp-oss"
licenses {
license {
name = 'The MIT License'
url = 'https://github.com/GetFeedback/kahpp-oss/blob/main/LICENSE'
distribution = 'repo'
}
}
}
}
}
}
ext {
springVersion = '2.7.5'
}
dependencies {
api "org.yaml:snakeyaml:1.33"
api "org.assertj:assertj-core:3.23.1"
api "org.springframework.boot:spring-boot-gradle-plugin:${springVersion}"
api("io.spring.gradle:dependency-management-plugin:1.1.0")
compileOnly localGroovy()
testImplementation gradleTestKit()
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.9.1'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.9.1'
}
project.dependencies.add( "implementation", project.dependencies.create("org.springframework.boot:spring-boot-starter-validation:${springVersion}"))
project.dependencies.add( "implementation", project.dependencies.create("org.springframework.kafka:spring-kafka-test:${springVersion}"))
project.dependencies.add( "implementation", project.dependencies.create("org.springframework.boot:spring-boot-starter-test:${springVersion}"))
spotless {
groovyGradle {
greclipse()
indentWithSpaces()
}
groovy {
greclipse()
indentWithSpaces()
}
}
jacoco {
jacocoTestCoverageVerification {
violationRules {
enabled = false
}
}
}
spotbugsMain.enabled = false
spotbugsTest.enabled = false