-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
61 lines (51 loc) · 1.53 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
import org.springframework.boot.gradle.plugin.SpringBootPlugin
plugins {
id 'org.springframework.boot' version '3.4.2' apply false
id 'io.spring.dependency-management' version '1.1.7' apply false
id 'com.google.cloud.tools.jib' version '3.4.3' apply false
id "org.sonarqube" version "6.0.1.5171" apply false
id 'idea'
id "org.openapi.generator" version "7.11.0" apply false
id 'java'
id 'com.gorylenko.gradle-git-properties' version '2.4.2'
id 'jacoco'
id 'com.diffplug.spotless' version '7.0.2' apply false
}
repositories {
maven { url 'https://broadinstitute.jfrog.io/artifactory/maven-central' }
mavenCentral()
}
subprojects {
group = 'org.databiosphere'
version = '0.31.0-SNAPSHOT'
apply plugin: 'idea'
apply plugin: 'java'
apply plugin: 'jvm-test-suite'
ext {
artifactGroup = "${group}.${rootProject.name}"
}
apply plugin: 'io.spring.dependency-management'
dependencyManagement {
imports {
mavenBom(SpringBootPlugin.BOM_COORDINATES)
}
dependencies {
// no dependencyManagement overrides at this time
}
}
}
idea.project.jdkName = '17'
tasks.named('test') {
useJUnitPlatform()
testLogging {
events = ["passed", "failed", "skipped", "started"]
exceptionFormat = "full"
}
}
// to avoid prompts in Gradle build scans
if (hasProperty("buildScan")) {
buildScan {
termsOfServiceUrl = "https://gradle.com/terms-of-service"
termsOfServiceAgree = "yes"
}
}