-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.gradle
52 lines (41 loc) · 1.15 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
plugins {
id "idea"
id 'io.freefair.lombok' version '6.0.0-m2' apply false
id 'org.springframework.boot' version '2.7.5' apply false
id 'io.spring.dependency-management' version '1.0.15.RELEASE' apply false
id 'maven-publish'
}
allprojects(a -> {
version = '0.0.35'
group = 'com.likelen.identifier'
repositories {
mavenCentral()
maven { url 'https://jitpack.io' }
}
if (a.name.startsWith("identifier-spring-boot")) {
apply plugin: "org.springframework.boot"
apply plugin: "io.spring.dependency-management"
}
})
subprojects(p -> {
if (!p.name.endsWith("api")) {
apply plugin: 'java'
apply plugin: 'maven-publish'
sourceCompatibility = 11
targetCompatibility = 11
java {
withSourcesJar()
withJavadocJar()
}
publishing {
publications {
maven(MavenPublication) {
groupId project.group
artifactId project.name
version project.version
from components.java
}
}
}
}
})