Skip to content

Commit

Permalink
Add dependency verification and lock files
Browse files Browse the repository at this point in the history
  • Loading branch information
johnoliver committed May 26, 2021
1 parent 750ea9b commit babc4b0
Show file tree
Hide file tree
Showing 11 changed files with 787 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,12 @@ x64Mac : [
]
```

If dependencies are updated then the lock file and verification data must be updated:

```shell
./gradlew dependencies --write-locks; ./gradlew --write-verification-metadata sha256
```

### Data fields

NOTE: When the `type` field implies a map, the `String` key of the inner map is the variant for that field. E.g:
Expand Down
4 changes: 4 additions & 0 deletions pipelines/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ apply plugin: 'groovy'
sourceCompatibility = 1.8
targetCompatibility = 1.8

dependencyLocking {
lockAllConfigurations()
}

sourceSets {
main {
groovy {
Expand Down
1 change: 1 addition & 0 deletions pipelines/gradle.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
org.gradle.dependency.verification.console=verbose
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# This is a Gradle generated file for dependency locking.
# Manual edits can break the build and are not advised.
# This file is expected to be part of source control.
32 changes: 32 additions & 0 deletions pipelines/gradle/dependency-locks/compileClasspath.lockfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# This is a Gradle generated file for dependency locking.
# Manual edits can break the build and are not advised.
# This file is expected to be part of source control.
com.github.javaparser:javaparser-core:3.15.22
junit:junit:4.13
org.apache.ant:ant:1.10.8
org.codehaus.groovy:groovy-all:3.0.4
org.codehaus.groovy:groovy-ant:3.0.4
org.codehaus.groovy:groovy-astbuilder:3.0.4
org.codehaus.groovy:groovy-cli-picocli:3.0.4
org.codehaus.groovy:groovy-console:3.0.4
org.codehaus.groovy:groovy-datetime:3.0.4
org.codehaus.groovy:groovy-docgenerator:3.0.4
org.codehaus.groovy:groovy-groovydoc:3.0.4
org.codehaus.groovy:groovy-groovysh:3.0.4
org.codehaus.groovy:groovy-jmx:3.0.4
org.codehaus.groovy:groovy-json:3.0.4
org.codehaus.groovy:groovy-jsr223:3.0.4
org.codehaus.groovy:groovy-macro:3.0.4
org.codehaus.groovy:groovy-nio:3.0.4
org.codehaus.groovy:groovy-servlet:3.0.4
org.codehaus.groovy:groovy-sql:3.0.4
org.codehaus.groovy:groovy-swing:3.0.4
org.codehaus.groovy:groovy-templates:3.0.4
org.codehaus.groovy:groovy-test-junit5:3.0.4
org.codehaus.groovy:groovy-test:3.0.4
org.codehaus.groovy:groovy-testng:3.0.4
org.codehaus.groovy:groovy-xml:3.0.4
org.codehaus.groovy:groovy:3.0.4
org.hamcrest:hamcrest-core:1.3
org.jenkins-ci.main:jenkins-core:2.85
org.jenkins-ci.plugins.workflow:workflow-step-api:2.22
47 changes: 47 additions & 0 deletions pipelines/gradle/dependency-locks/runtimeClasspath.lockfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
# This is a Gradle generated file for dependency locking.
# Manual edits can break the build and are not advised.
# This file is expected to be part of source control.
com.beust:jcommander:1.72
com.github.javaparser:javaparser-core:3.15.22
com.thoughtworks.qdox:qdox:1.12.1
info.picocli:picocli:4.3.2
jline:jline:2.14.6
junit:junit:4.13
org.apache.ant:ant-antlr:1.10.8
org.apache.ant:ant-junit:1.10.8
org.apache.ant:ant-launcher:1.10.8
org.apache.ant:ant:1.10.8
org.codehaus.groovy:groovy-all:3.0.4
org.codehaus.groovy:groovy-ant:3.0.4
org.codehaus.groovy:groovy-astbuilder:3.0.4
org.codehaus.groovy:groovy-cli-picocli:3.0.4
org.codehaus.groovy:groovy-console:3.0.4
org.codehaus.groovy:groovy-datetime:3.0.4
org.codehaus.groovy:groovy-docgenerator:3.0.4
org.codehaus.groovy:groovy-groovydoc:3.0.4
org.codehaus.groovy:groovy-groovysh:3.0.4
org.codehaus.groovy:groovy-jmx:3.0.4
org.codehaus.groovy:groovy-json:3.0.4
org.codehaus.groovy:groovy-jsr223:3.0.4
org.codehaus.groovy:groovy-macro:3.0.4
org.codehaus.groovy:groovy-nio:3.0.4
org.codehaus.groovy:groovy-servlet:3.0.4
org.codehaus.groovy:groovy-sql:3.0.4
org.codehaus.groovy:groovy-swing:3.0.4
org.codehaus.groovy:groovy-templates:3.0.4
org.codehaus.groovy:groovy-test-junit5:3.0.4
org.codehaus.groovy:groovy-test:3.0.4
org.codehaus.groovy:groovy-testng:3.0.4
org.codehaus.groovy:groovy-xml:3.0.4
org.codehaus.groovy:groovy:3.0.4
org.hamcrest:hamcrest-core:1.3
org.jenkins-ci.main:jenkins-core:2.85
org.jenkins-ci.plugins.workflow:workflow-step-api:2.22
org.junit.jupiter:junit-jupiter-api:5.6.2
org.junit.jupiter:junit-jupiter-engine:5.6.2
org.junit.platform:junit-platform-commons:1.6.2
org.junit.platform:junit-platform-engine:1.6.2
org.junit.platform:junit-platform-launcher:1.6.2
org.junit:junit-bom:5.6.2
org.opentest4j:opentest4j:1.2.0
org.testng:testng:7.2.0
3 changes: 3 additions & 0 deletions pipelines/gradle/dependency-locks/shadow.lockfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# This is a Gradle generated file for dependency locking.
# Manual edits can break the build and are not advised.
# This file is expected to be part of source control.
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# This is a Gradle generated file for dependency locking.
# Manual edits can break the build and are not advised.
# This file is expected to be part of source control.
36 changes: 36 additions & 0 deletions pipelines/gradle/dependency-locks/testCompileClasspath.lockfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# This is a Gradle generated file for dependency locking.
# Manual edits can break the build and are not advised.
# This file is expected to be part of source control.
com.github.javaparser:javaparser-core:3.15.22
junit:junit:4.13
org.apache.ant:ant:1.10.8
org.apiguardian:apiguardian-api:1.0.0
org.codehaus.groovy:groovy-all:3.0.4
org.codehaus.groovy:groovy-ant:3.0.4
org.codehaus.groovy:groovy-astbuilder:3.0.4
org.codehaus.groovy:groovy-cli-picocli:3.0.4
org.codehaus.groovy:groovy-console:3.0.4
org.codehaus.groovy:groovy-datetime:3.0.4
org.codehaus.groovy:groovy-docgenerator:3.0.4
org.codehaus.groovy:groovy-groovydoc:3.0.4
org.codehaus.groovy:groovy-groovysh:3.0.4
org.codehaus.groovy:groovy-jmx:3.0.4
org.codehaus.groovy:groovy-json:3.0.4
org.codehaus.groovy:groovy-jsr223:3.0.4
org.codehaus.groovy:groovy-macro:3.0.4
org.codehaus.groovy:groovy-nio:3.0.4
org.codehaus.groovy:groovy-servlet:3.0.4
org.codehaus.groovy:groovy-sql:3.0.4
org.codehaus.groovy:groovy-swing:3.0.4
org.codehaus.groovy:groovy-templates:3.0.4
org.codehaus.groovy:groovy-test-junit5:3.0.4
org.codehaus.groovy:groovy-test:3.0.4
org.codehaus.groovy:groovy-testng:3.0.4
org.codehaus.groovy:groovy-xml:3.0.4
org.codehaus.groovy:groovy:3.0.4
org.hamcrest:hamcrest-core:1.3
org.jenkins-ci.main:jenkins-core:2.85
org.jenkins-ci.plugins.workflow:workflow-step-api:2.22
org.junit.jupiter:junit-jupiter-api:5.4.1
org.junit.platform:junit-platform-commons:1.4.1
org.opentest4j:opentest4j:1.1.1
48 changes: 48 additions & 0 deletions pipelines/gradle/dependency-locks/testRuntimeClasspath.lockfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
# This is a Gradle generated file for dependency locking.
# Manual edits can break the build and are not advised.
# This file is expected to be part of source control.
com.beust:jcommander:1.72
com.github.javaparser:javaparser-core:3.15.22
com.thoughtworks.qdox:qdox:1.12.1
info.picocli:picocli:4.3.2
jline:jline:2.14.6
junit:junit:4.13
org.apache.ant:ant-antlr:1.10.8
org.apache.ant:ant-junit:1.10.8
org.apache.ant:ant-launcher:1.10.8
org.apache.ant:ant:1.10.8
org.apiguardian:apiguardian-api:1.1.0
org.codehaus.groovy:groovy-all:3.0.4
org.codehaus.groovy:groovy-ant:3.0.4
org.codehaus.groovy:groovy-astbuilder:3.0.4
org.codehaus.groovy:groovy-cli-picocli:3.0.4
org.codehaus.groovy:groovy-console:3.0.4
org.codehaus.groovy:groovy-datetime:3.0.4
org.codehaus.groovy:groovy-docgenerator:3.0.4
org.codehaus.groovy:groovy-groovydoc:3.0.4
org.codehaus.groovy:groovy-groovysh:3.0.4
org.codehaus.groovy:groovy-jmx:3.0.4
org.codehaus.groovy:groovy-json:3.0.4
org.codehaus.groovy:groovy-jsr223:3.0.4
org.codehaus.groovy:groovy-macro:3.0.4
org.codehaus.groovy:groovy-nio:3.0.4
org.codehaus.groovy:groovy-servlet:3.0.4
org.codehaus.groovy:groovy-sql:3.0.4
org.codehaus.groovy:groovy-swing:3.0.4
org.codehaus.groovy:groovy-templates:3.0.4
org.codehaus.groovy:groovy-test-junit5:3.0.4
org.codehaus.groovy:groovy-test:3.0.4
org.codehaus.groovy:groovy-testng:3.0.4
org.codehaus.groovy:groovy-xml:3.0.4
org.codehaus.groovy:groovy:3.0.4
org.hamcrest:hamcrest-core:1.3
org.jenkins-ci.main:jenkins-core:2.85
org.jenkins-ci.plugins.workflow:workflow-step-api:2.22
org.junit.jupiter:junit-jupiter-api:5.6.2
org.junit.jupiter:junit-jupiter-engine:5.6.2
org.junit.platform:junit-platform-commons:1.6.2
org.junit.platform:junit-platform-engine:1.6.2
org.junit.platform:junit-platform-launcher:1.6.2
org.junit:junit-bom:5.6.2
org.opentest4j:opentest4j:1.2.0
org.testng:testng:7.2.0
Loading

0 comments on commit babc4b0

Please sign in to comment.