Skip to content

Commit fbcd9eb

Browse files
committed
Use dependency locking for buildscript dependencies
1 parent a704da6 commit fbcd9eb

File tree

4 files changed

+77
-5
lines changed

4 files changed

+77
-5
lines changed

buildscript-gradle.lockfile

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# This is a Gradle generated file for dependency locking.
2+
# Manual edits can break the build and are not advised.
3+
# This file is expected to be part of source control.
4+
com.fasterxml.woodstox:woodstox-core:7.1.0=classpath
5+
com.gradleup.shadow:com.gradleup.shadow.gradle.plugin:9.3.0=classpath
6+
com.gradleup.shadow:shadow-gradle-plugin:9.3.0=classpath
7+
commons-codec:commons-codec:1.20.0=classpath
8+
commons-io:commons-io:2.21.0=classpath
9+
org.apache.ant:ant-launcher:1.10.15=classpath
10+
org.apache.ant:ant:1.10.15=classpath
11+
org.apache.logging.log4j:log4j-api:2.25.2=classpath
12+
org.apache.logging.log4j:log4j-core:2.25.2=classpath
13+
org.apache.maven:maven-api-annotations:4.0.0-rc-3=classpath
14+
org.apache.maven:maven-api-xml:4.0.0-rc-3=classpath
15+
org.apache.maven:maven-xml:4.0.0-rc-3=classpath
16+
org.codehaus.plexus:plexus-utils:4.0.2=classpath
17+
org.codehaus.plexus:plexus-xml:4.1.0=classpath
18+
org.codehaus.woodstox:stax2-api:4.2.2=classpath
19+
org.jdom:jdom2:2.0.6.1=classpath
20+
org.jetbrains.kotlin:kotlin-metadata-jvm:2.3.0-RC2=classpath
21+
org.jetbrains.kotlin:kotlin-stdlib:2.3.0-RC2=classpath
22+
org.jetbrains:annotations:13.0=classpath
23+
org.ow2.asm:asm-commons:9.9=classpath
24+
org.ow2.asm:asm-tree:9.9=classpath
25+
org.ow2.asm:asm:9.9=classpath
26+
org.vafer:jdependency:2.14=classpath
27+
empty=
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# This is a Gradle generated file for dependency locking.
2+
# Manual edits can break the build and are not advised.
3+
# This file is expected to be part of source control.
4+
com.gradle.develocity:com.gradle.develocity.gradle.plugin:4.0.1=classpath
5+
com.gradle:develocity-gradle-plugin:4.0.1=classpath
6+
com.squareup.okhttp3:okhttp:4.12.0=classpath
7+
com.squareup.okio:okio-jvm:3.6.0=classpath
8+
com.squareup.okio:okio:3.6.0=classpath
9+
dev.lukebemish.central-portal-publishing:dev.lukebemish.central-portal-publishing.gradle.plugin:0.1.3=classpath
10+
dev.lukebemish.conventions:dev.lukebemish.conventions.gradle.plugin:0.2.0-beta.2=classpath
11+
dev.lukebemish.managedversioning:dev.lukebemish.managedversioning.gradle.plugin:2.0.0-beta.7=classpath
12+
dev.lukebemish:central-portal-publishing:0.1.3=classpath
13+
dev.lukebemish:conventions:0.2.0-beta.2=classpath
14+
dev.lukebemish:managedversioning:2.0.0-beta.7=classpath
15+
org.apache.commons:commons-lang3:3.12.0=classpath
16+
org.apache.commons:commons-text:1.10.0=classpath
17+
org.gradle.toolchains.foojay-resolver-convention:org.gradle.toolchains.foojay-resolver-convention.gradle.plugin:1.0.0=classpath
18+
org.gradle.toolchains:foojay-resolver:1.0.0=classpath
19+
org.jetbrains.kotlin:kotlin-stdlib-common:1.9.10=classpath
20+
org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.9.10=classpath
21+
org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.9.10=classpath
22+
org.jetbrains.kotlin:kotlin-stdlib:1.9.10=classpath
23+
org.jetbrains:annotations:13.0=classpath
24+
empty=

settings-gradle.lockfile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# This is a Gradle generated file for dependency locking.
2+
# Manual edits can break the build and are not advised.
3+
# This file is expected to be part of source control.
4+
dev.lukebemish:conventions:0.2.0-beta.2=incomingCatalogForCLibs0
5+
empty=incomingCatalogForLibs0

settings.gradle

Lines changed: 21 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,31 @@ pluginManagement {
66
}
77
}
88
plugins {
9-
id 'com.gradleup.shadow' version '8.3.0'
10-
id 'dev.lukebemish.central-portal-publishing' version '0.1.7'
9+
id 'com.gradleup.shadow' version '+'
10+
}
11+
}
12+
13+
buildscript {
14+
dependencyLocking {
15+
lockMode = LockMode.STRICT
16+
lockAllConfigurations()
17+
lockFile.set file("settings-gradle-buildscript.lockfile")
1118
}
1219
}
1320

1421
plugins {
15-
id 'org.gradle.toolchains.foojay-resolver-convention' version '1.0.0'
16-
id 'dev.lukebemish.managedversioning' version '2.0.0-beta.7'
17-
id 'dev.lukebemish.conventions' version '0.2.0-beta.2'
22+
id 'org.gradle.toolchains.foojay-resolver-convention' version '+'
23+
id 'dev.lukebemish.managedversioning' version '+'
24+
id 'dev.lukebemish.conventions' version '+'
25+
}
26+
27+
gradle.lifecycle.beforeProject {
28+
it.buildscript{
29+
dependencyLocking {
30+
lockMode = LockMode.STRICT
31+
lockAllConfigurations()
32+
}
33+
}
1834
}
1935

2036
managedVersioning {

0 commit comments

Comments
 (0)