-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathbuild.gradle
70 lines (57 loc) · 1.44 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
plugins {
id 'com.jfrog.artifactory' version '4.21.0' apply false
id 'io.spring.dependency-management' version '1.1.4'
id 'java'
id 'maven-publish'
}
subprojects {
apply plugin: 'java-library'
apply plugin: 'io.spring.dependency-management'
apply plugin: 'maven-publish'
apply plugin: 'com.jfrog.artifactory'
apply plugin: 'signing'
sourceCompatibility = '17'
repositories {
mavenLocal()
mavenCentral()
maven { url 'https://repo.spring.io/milestone' }
if (version.endsWith('SNAPSHOT')) {
maven { url 'https://repo.spring.io/snapshot' }
maven {
url 'https://oss.jfrog.org/artifactory/oss-snapshot-local'
}
}
}
dependencyManagement {
imports {
mavenBom "org.springframework.boot:spring-boot-dependencies:${springBootVersion}"
}
dependencies {
dependency "org.assertj:assertj-core:${assertjVersion}"
}
}
dependencies {
implementation platform("io.projectreactor:reactor-bom:${reactorBomVersion}")
implementation platform("io.rsocket:rsocket-bom:${rsocketVersion}")
implementation platform("org.junit:junit-bom:${junitJupiterVersion}")
}
java {
withSourcesJar()
withJavadocJar()
}
publishing {
publications {
mavenJava(MavenPublication) {
from components.java
}
}
}
test {
useJUnitPlatform()
}
}
apply from: "${rootDir}/gradle/publications.gradle"
description = 'RSocket Broker Client: client for RSocket Broker.'
wrapper {
distributionType = Wrapper.DistributionType.ALL
}