-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
36 lines (29 loc) · 1004 Bytes
/
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
allprojects {
apply plugin: 'java-library'
apply plugin: 'maven-publish'
group 'org.monkey'
version '0.1-SNAPSHOT'
sourceCompatibility = '11'
repositories { mavenCentral() }
dependencies {
implementation 'redis.clients:jedis:4.3.1'
compileOnly 'org.projectlombok:lombok:1.18.24'
annotationProcessor 'org.projectlombok:lombok:1.18.24'
implementation 'org.springframework.boot:spring-boot-starter-web:2.7.8'
implementation 'org.springframework.boot:spring-boot-starter-data-redis:2.7.5'
}
publishing {
repositories {
maven {
url = uri("https://maven.pkg.github.com/DuyTC1811/common")
credentials {
username = project.findProperty("gpr.user")
password = project.findProperty("gpr.key")
}
}
}
publications {
commond(MavenPublication) { from components.java }
}
}
}