-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
54 lines (46 loc) · 1.41 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
import org.springframework.boot.gradle.plugin.SpringBootPlugin
plugins {
id 'java'
id 'org.springframework.boot' version '3.2.12' apply false
id 'maven-publish'
id 'org.jetbrains.kotlin.jvm' version '2.1.0'
id 'org.jetbrains.kotlin.plugin.spring' version '2.1.0'
id 'jacoco'
id 'io.github.gradle-nexus.publish-plugin' version '2.0.0'
id 'com.palantir.git-version' version '3.1.0'
}
description = 'Library for standardising all HTTP related exception handling'
group = 'io.github.lsd-consulting'
version = gitVersion().replaceAll("^v", "")
logger.lifecycle("Build Version = ${version}")
java {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}
subprojects {
apply plugin: 'java-library'
apply plugin: 'maven-publish'
group = rootProject.getGroup()
version = rootProject.getVersion()
java {
withSourcesJar()
withJavadocJar()
}
}
allprojects {
repositories {
mavenLocal()
mavenCentral()
}
// Dependency Versioning
apply plugin: 'io.spring.dependency-management'
dependencyManagement {
imports {
mavenBom SpringBootPlugin.BOM_COORDINATES
mavenBom 'org.springframework.cloud:spring-cloud-dependencies:2023.0.5'
mavenBom 'org.jetbrains.kotlin:kotlin-bom:2.1.0'
}
}
}
apply from: 'publishing.gradle'
apply from: 'hooks.gradle'