File tree Expand file tree Collapse file tree 6 files changed +19
-14
lines changed
Expand file tree Collapse file tree 6 files changed +19
-14
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -17,8 +17,10 @@ plugins {
1717}
1818
1919var props = Properties ().apply {
20- load(FileInputStream (File (rootProject.rootDir, " ../../project.properties" )))
20+ load(FileInputStream (File (rootProject.rootDir, " ../../../ project.properties" )))
2121}
22+ var mplVersion = props.getProperty(" mplDependencyJavaVersion" )
23+
2224group = " software.amazon.cryptography"
2325version = " 1.0.0-SNAPSHOT"
2426description = " AwsEncryptionSdk"
@@ -32,7 +34,7 @@ repositories {
3234dependencies {
3335 implementation(" org.dafny:DafnyRuntime:4.9.0" )
3436 implementation(" software.amazon.smithy.dafny:conversion:0.1" )
35- implementation(" software.amazon.cryptography:aws-cryptographic-material-providers:1.8.0 " )
37+ implementation(" software.amazon.cryptography:aws-cryptographic-material-providers:${mplVersion} " )
3638
3739 // Use JUnit test framework.
3840 testImplementation(" junit:junit:4.13.2" )
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ import java.io.File
2+ import java.io.FileInputStream
3+ import java.util.Properties
4+
15tasks.wrapper {
26 gradleVersion = " 7.6"
37}
@@ -8,6 +12,11 @@ plugins {
812 `application`
913}
1014
15+ var props = Properties ().apply {
16+ load(FileInputStream (File (rootProject.rootDir, " ../../../project.properties" )))
17+ }
18+ var mplVersion = props.getProperty(" mplDependencyJavaVersion" )
19+
1120group = " software.amazon.cryptography"
1221version = " 1.0.0-SNAPSHOT"
1322description = " AwsEncryptionSDKJavaTestVectors"
@@ -33,8 +42,8 @@ repositories {
3342dependencies {
3443 implementation(" org.dafny:DafnyRuntime:4.8.0" )
3544 implementation(" software.amazon.smithy.dafny:conversion:0.1" )
36- implementation(" software.amazon.cryptography:aws-cryptographic-material-providers:1.8.0 " )
37- implementation(" software.amazon.cryptography:TestAwsCryptographicMaterialProviders:1.8.0-SNAPSHOT " )
45+ implementation(" software.amazon.cryptography:aws-cryptographic-material-providers:${mplVersion} " )
46+ implementation(" software.amazon.cryptography:TestAwsCryptographicMaterialProviders:${mplVersion} " )
3847 implementation(" software.amazon.cryptography:aws-encryption-sdk:1.0.0-SNAPSHOT" )
3948 implementation(" com.amazonaws:aws-encryption-sdk-java:3.0.1" )
4049 implementation(platform(" software.amazon.awssdk:bom:2.25.1" ))
Original file line number Diff line number Diff line change 1+ # This file stores the top level dafny version information.
2+ # All elements of the project need to agree on this version.
13dafnyVersion =4.9.0
24dafnyVerifyVersion =4.9.0
35dafnyFormatVersion =4.9.0
46projectJavaVersion =4.1.0
5- mplDependencyJavaVersion =1.8.0
7+ mplDependencyJavaVersion =1.9.0-SNAPSHOT
68dafnyRuntimeJavaVersion =4.9.0
79smithyDafnyJavaConversionVersion =0.1.1
You can’t perform that action at this time.
0 commit comments