-
Notifications
You must be signed in to change notification settings - Fork 1
/
settings.gradle
77 lines (69 loc) · 2.95 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
/*
* Copyright 2016 by Dimitar Dimitrov
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
plugins {
id 'com.gradle.enterprise' version '3.9'
}
rootProject.name = 'nuggets'
/*gradleEnterprise {
buildScan {
termsOfServiceUrl = 'https://gradle.com/terms-of-service'
termsOfServiceAgree = 'yes'
if (System.getenv("CI")) {
publishAlways()
uploadInBackground = false
tag "CI"
}
tag System.getProperty("os.name")
link "GutHub", "https://github.com/dimitrda/nuggets"
background {
def commitId = "git rev-parse --verify HEAD".execute().text.trim()
value "Git Commit ID", commitId
}
obfuscation {
username { name -> "user_${name.hashCode()%1000}" }
hostname { host -> "host_${name.hashCode()%1000}" }
ipAddresses { addresses -> addresses.collect { InetAddress a -> "0.0.0.${a.address[3]}"} }
}
}
}*/
dependencyResolutionManagement {
repositories {
mavenCentral()
}
versionCatalogs {
libs {
// todo: figure plugin locking
plugin('gradle-enterprise', 'com.gradle.enterprise').version('3.9')
plugin("errorprone", "net.ltgt.errorprone").version("2.0.2")
plugin("codacy", "io.github.ddimtirov.codacy").version("0.1.0")
plugin("kotlin-jvm", "org.jetbrains.kotlin.jvm").version("1.6.20")
plugin("kotlin-dokka", "org.jetbrains.dokka").version("1.6.10")
plugin('benmanes-versions', 'com.github.ben-manes.versions').version('0.15.0')
plugin("spotbugs", "com.github.spotbugs").version("5.0.6")
// we use these with dependency locking
library("boms-spock", "org.spockframework:spock-bom:2.2-M1-groovy-4.0")
library('apache-groovy', 'org.apache.groovy:groovy:4.+')
library('kotlin-stdlib', 'org.jetbrains.kotlin:kotlin-stdlib:+')
library('kotlin-test', 'org.jetbrains.kotlin:kotlin-test-junit5:+')
library('jetbrains-annotations', 'org.jetbrains:annotations:23.+')
library('inject', 'javax.inject:javax.inject:1')
library("spock-core", "org.spockframework:spock-core:+")
library('bytebuddy', 'net.bytebuddy:byte-buddy:+')
library('objenesis', 'org.objenesis:objenesis:+')
bundle('spock', ['spock-core', 'bytebuddy', 'objenesis'])
}
}
}