forked from jqwik-team/jqwik
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdependencies.gradle
45 lines (40 loc) · 1.62 KB
/
dependencies.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
/*
* This file essentially extracts the versions of external dependencies.
* With its name "dependencies.gradle", it should be detected and processed by Dependabot.
* See https://docs.github.com/en/code-security/supply-chain-security/keeping-your-dependencies-updated-automatically/configuration-options-for-dependency-updates
* also https://dev.to/cricketsamya/gradle-with-dependabot-1o47
*
* Keeping the extra properties in the root 'build.gradle' file does not work as some
* properties are required by our pre-compiled plugin before we had a chance to define them
* (no regular code is allowed before 'buildscript'/'plugins').
*
* Since Gradle 7.0 there is a new (better option to centralize dependency versions with a version catalog
* (see https://docs.gradle.org/current/userguide/platforms.html#sec:sharing-catalogs), but
* it is not (yet) supported by Dependabot, renovate, etc.
*/
static def isSnapshotRelease(versionString) {
versionString.endsWith('SNAPSHOT')
}
static def showStandardStreams() {
def propSSS = System.getProperty("showStandardStreams")
propSSS == null ? false : propSSS == "true"
}
ext {
junitPlatformVersion = '1.10.0'
junitJupiterVersion = '5.10.0'
apiGuardianVersion = '1.1.2'
opentest4jVersion = '1.3.0'
archunitVersion = '1.0.1'
assertJVersion = '3.24.2'
mockitoVersion = '4.11.0'
systemLambdaVersion = '1.2.1'
kotlinVersion = '1.8.0'
kotlinxVersion = '1.7.3'
kotestVersion = '5.6.2'
findbugsVersion = '3.0.2'
jspecifyVersion = '0.3.0'
moduleName = 'net.jqwik'
jqwikVersion = '1.8.0-SNAPSHOT'
isSnapshotRelease = isSnapshotRelease(jqwikVersion)
showStandardStreams = showStandardStreams()
}