-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
80 lines (61 loc) · 1.59 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
76
77
78
79
80
plugins {
id 'java'
id 'java-library'
id 'maven'
}
repositories {
mavenCentral()
maven {
url = uri('http://packages.confluent.io/maven/')
}
maven { url 'https://jitpack.io' }
}
dependencies {
api 'com.github.kattlo:piemok:v0.13.0'
implementation 'org.springframework.boot:spring-boot-starter:2.4.3'
implementation 'org.springframework.kafka:spring-kafka:2.6.6'
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.7.1'
testImplementation 'org.junit.jupiter:junit-jupiter-engine:5.7.1'
testImplementation 'org.springframework.boot:spring-boot-starter-test:2.4.3'
compileOnly 'org.projectlombok:lombok:1.18.18'
annotationProcessor 'org.projectlombok:lombok:1.18.16'
}
group = 'io.github.kattlo'
version = '0.12.0'
description = 'Piemok for Spring'
java.sourceCompatibility = JavaVersion.VERSION_11
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}
test {
useJUnitPlatform()
}
task sourcesJar(type: Jar, dependsOn: classes) {
classifier = 'sources'
from sourceSets.main.allSource
}
task javadocJar(type: Jar, dependsOn: javadoc) {
classifier = 'javadoc'
from javadoc.destinationDir
}
artifacts {
archives sourcesJar
archives javadocJar
}
install {
repositories.mavenInstaller {
pom.project {
licenses {
license {
name 'The Apache Software License, Version 2.0'
url 'http://www.apache.org/licenses/LICENSE-2.0.txt'
distribution 'repo'
}
}
}
}
}
wrapper {
gradleVersion = "6.1.1"
distributionType = Wrapper.DistributionType.ALL
}