-
Notifications
You must be signed in to change notification settings - Fork 2
/
settings.gradle
53 lines (44 loc) · 2.22 KB
/
settings.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
import com.gradle.enterprise.gradleplugin.GradleEnterpriseExtension
import com.gradle.scan.plugin.BuildScanExtension
plugins {
id 'com.gradle.enterprise' version '3.15.1'
}
rootProject.name = 'xactus'
dependencyResolutionManagement {
versionCatalogs {
libs {
plugin('axion', 'pl.allegro.tech.build.axion-release').version('1.14.3')
plugin('nexus-publish', 'io.github.gradle-nexus.publish-plugin').version('2.0.0-rc-1')
library('xerces', 'xerces', 'xercesImpl').version('2.12.2')
library('icu4j', 'com.ibm.icu', 'icu4j').version('71.1')
library('jflex', 'de.jflex', 'jflex').version('1.8.2')
library('jcup', 'edu.princeton.cup', 'java-cup').version('10k')
library('xalan-serializer', 'xalan', 'serializer').version('2.7.2')
}
testLibs {
version('jupiter', '5.8.2')
library('junit-jupiter', 'org.junit.jupiter', 'junit-jupiter').versionRef('jupiter')
library('junit-vintage-engine', 'org.junit.vintage', 'junit-vintage-engine').versionRef('jupiter')
bundle('jupiter', ['junit-jupiter', 'junit-vintage-engine'])
version('xmlunit', '2.9.0')
library('xmlunit-core', 'org.xmlunit', 'xmlunit-core').versionRef('xmlunit')
library('xmlunit-matchers', 'org.xmlunit', 'xmlunit-matchers').versionRef('xmlunit')
bundle('xmlunit', ['xmlunit-core', 'xmlunit-matchers'])
version('assertj', '3.23.1')
library('assertj-core', 'org.assertj', 'assertj-core').versionRef('assertj')
bundle('assertj', ['assertj-core'])
version('mockito', '4.11.0')
library('mockito-core', 'org.mockito', 'mockito-core').versionRef('mockito')
bundle('mockito', ['mockito-core'])
}
}
}
extensions.configure(GradleEnterpriseExtension) { gradleEnterpriseExtension ->
if (System.getenv('CI') == 'true') {
gradleEnterpriseExtension.buildScan { BuildScanExtension buildScanExtension ->
buildScanExtension.publishAlways()
buildScanExtension.termsOfServiceUrl = 'https://gradle.com/terms-of-service'
buildScanExtension.termsOfServiceAgree = 'yes'
}
}
}