-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
74 lines (59 loc) · 1.84 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
import com.vanniktech.maven.publish.SonatypeHost
plugins {
id 'java'
id 'com.vanniktech.maven.publish' version '0.30.0'
id 'signing'
}
group = 'io.github.jihongkim98'
version = '0.0.2'
java {
toolchain {
languageVersion = JavaLanguageVersion.of(17)
}
withSourcesJar()
}
repositories {
mavenCentral()
}
dependencies {
implementation platform("org.springframework.boot:spring-boot-dependencies:3.4.0")
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'org.springframework.boot:spring-boot-starter-data-redis'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
}
mavenPublishing {
signAllPublications()
publishToMavenCentral(SonatypeHost.CENTRAL_PORTAL)
coordinates('io.github.jihongkim98', 'redis-extensions', '0.0.2')
pom {
name = 'redis-extensions'
inceptionYear = '2024'
description = 'Spring Data Redis Message Extension Library'
url = '<https://github.com/jihongkim98/redis-extensions>'
licenses {
license {
name = 'The Apache License, Version 2.0'
url = 'https://github.com/jihongkim98/redis-extensions/blob/main/LICENSE'
}
}
developers {
developer {
id = 'jihongkim98'
name = 'JiHong Kim'
email = '[email protected]'
}
}
scm {
connection = 'scm:git:github.com/jihongkim98/redis-extensions.git'
developerConnection = 'scm:git:ssh://github.com:jihongkim98/redis-extensions.git'
url = 'https://github.com/jihongkim98/redis-extensions'
}
}
}
signing {
sign publishing.publications
}
tasks.named('test') {
useJUnitPlatform()
}