-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
77 lines (69 loc) · 1.82 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
plugins {
id 'java'
id 'java-library'
id 'maven-publish'
id 'io.spring.dependency-management' version '1.1.3'
id("io.freefair.lombok") version "8.4"
}
dependencyManagement {
imports {
mavenBom 'org.springframework.data.build:spring-data-parent:3.3.0-SNAPSHOT'
}
}
group = 'com.nucleodb'
version = '3.6.5'
repositories {
mavenCentral()
maven { url 'https://repo.spring.io/milestone' }
maven { url 'https://repo.spring.io/snapshot' }
maven { url "https://nexus.synload.com/repository/maven-repo-releases/" }
}
dependencies {
api 'com.nucleodb:library:1.18.9'
api 'org.springframework:spring-beans'
api 'org.springframework:spring-context'
api 'org.springframework:spring-expression'
api 'org.springframework:spring-core'
api 'org.springframework:spring-tx'
api 'org.springframework.data:spring-data-commons:3.3.0-SNAPSHOT'
api 'io.projectreactor:reactor-core'
api 'org.projectlombok:lombok:1.18.30'
}
test {
useJUnitPlatform()
}
task sourceJar(type: Jar) {
from sourceSets.main.allSource
archiveClassifier.set('sources')
}
task javadocJar(type: Jar) {
from javadoc.destinationDir
archiveClassifier.set('javadoc')
}
java {
toolchain {
languageVersion = JavaLanguageVersion.of(21)
}
}
compileJava {
options.release = 21
}
publishing {
publications {
mavenJava(MavenPublication) {
from components.java
artifact sourceJar
artifact javadocJar
}
}
repositories {
maven {
name = 'SynloadRepo'
url = uri("https://nexus.synload.com/repository/maven-repo-releases/")
credentials {
username = System.getenv("SYNLOAD_REPO_USER")
password = System.getenv("SYNLOAD_REPO_PASS")
}
}
}
}