Skip to content

Commit 69cdbcc

Browse files
committed
Release version affects core, ipc, main & metrics; adapters & targets stick with individual version.
1 parent 70abc62 commit 69cdbcc

File tree

24 files changed

+94
-77
lines changed

24 files changed

+94
-77
lines changed

adapters/modbus-tcp/build.gradle.kts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,12 @@ import java.nio.file.Path
66
import java.time.LocalDate
77

88
group = "com.amazonaws.sfc"
9-
version = rootProject.extra.get("sfc_release")!!
9+
version = "1.0.0"
1010

11+
val sfcRelease = rootProject.extra.get("sfc_release")!!
1112
val module = "modbus.tcp"
12-
val sfcCoreVersion = version
13-
val sfcIpcVersion = version
13+
val sfcCoreVersion = sfcRelease
14+
val sfcIpcVersion = sfcRelease
1415
val kotlinCoroutinesVersion = "1.6.2"
1516
val kotlinVersion = "1.9.0"
1617
val modbusVersion = "1.0.0"

adapters/modbus/build.gradle.kts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
// SPDX-License-Identifier: MIT-0
33

44
group = "com.amazonaws.sfc"
5-
version = rootProject.extra.get("sfc_release")!!
6-
7-
val sfcCoreVersion = version
5+
version = "1.0.0"
6+
val sfcRelease = rootProject.extra.get("sfc_release")!!
7+
val sfcCoreVersion = sfcRelease
88
val kotlinCoroutinesVersion = "1.6.2"
99
val kotlinVersion = "1.9.0"
1010

adapters/mqtt/build.gradle.kts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,11 @@ import org.jetbrains.kotlin.util.capitalizeDecapitalize.toUpperCaseAsciiOnly
55
import java.time.LocalDate
66

77
group = "com.amazonaws.sfc"
8-
version = rootProject.extra.get("sfc_release")!!
8+
version = "1.0.0"
99

10-
val sfcCoreVersion = version
11-
val sfcIpcVersion = version
10+
val sfcRelease = rootProject.extra.get("sfc_release")!!
11+
val sfcCoreVersion = sfcRelease
12+
val sfcIpcVersion = sfcRelease
1213
val module = "mqtt"
1314
val kotlinCoroutinesVersion = "1.6.2"
1415
val kotlinVersion = "1.9.0"

adapters/opcua/build.gradle.kts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,11 @@ import org.jetbrains.kotlin.util.capitalizeDecapitalize.toUpperCaseAsciiOnly
55
import java.time.LocalDate
66

77
group = "com.amazonaws.sfc"
8-
version = rootProject.extra.get("sfc_release")!!
8+
version = "1.0.0"
99

10-
val sfcCoreVersion = version
11-
val sfcIpcVersion = version
10+
val sfcRelease = rootProject.extra.get("sfc_release")!!
11+
val sfcCoreVersion = sfcRelease
12+
val sfcIpcVersion = sfcRelease
1213
val module = "opcua"
1314
val kotlinCoroutinesVersion = "1.6.2"
1415
val kotlinVersion = "1.9.0"

adapters/pccc/build.gradle.kts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,12 @@ import org.jetbrains.kotlin.util.capitalizeDecapitalize.toUpperCaseAsciiOnly
55
import java.time.LocalDate
66

77
group = "com.amazonaws.sfc"
8-
version = rootProject.extra.get("sfc_release")!!
8+
version = "1.0.0"
99

10+
val sfcRelease = rootProject.extra.get("sfc_release")!!
1011
val module = "pccc"
11-
val sfcCoreVersion = version
12-
val sfcIpcVersion = version
12+
val sfcCoreVersion = sfcRelease
13+
val sfcIpcVersion = sfcRelease
1314
val kotlinCoroutinesVersion = "1.6.2"
1415
val kotlinVersion = "1.9.0"
1516
val reflectionVersion = "1.6.0"

adapters/s7/build.gradle.kts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,12 @@ import org.jetbrains.kotlin.util.capitalizeDecapitalize.toUpperCaseAsciiOnly
55
import java.time.LocalDate
66

77
group = "com.amazonaws.sfc"
8-
version = rootProject.extra.get("sfc_release")!!
8+
version = "1.0.0"
99

10+
val sfcRelease = rootProject.extra.get("sfc_release")!!
1011
val module = "s7"
11-
val sfcCoreVersion = version
12-
val sfcIpcVersion = version
12+
val sfcCoreVersion = sfcRelease
13+
val sfcIpcVersion = sfcRelease
1314
val kotlinCoroutinesVersion = "1.6.2"
1415
val kotlinVersion = "1.9.0"
1516
val reflectionVersion = "1.6.0"

adapters/snmp/build.gradle.kts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,12 @@ import org.jetbrains.kotlin.util.capitalizeDecapitalize.toUpperCaseAsciiOnly
55
import java.time.LocalDate
66

77
group = "com.amazonaws.sfc"
8-
version = rootProject.extra.get("sfc_release")!!
8+
version = "1.0.0"
99

10+
val sfcRelease = rootProject.extra.get("sfc_release")!!
1011
val module = "snmp"
11-
val sfcCoreVersion = version
12-
val sfcIpcVersion = version
12+
val sfcCoreVersion = sfcRelease
13+
val sfcIpcVersion = sfcRelease
1314
val kotlinCoroutinesVersion = "1.6.2"
1415
val kotlinVersion = "1.9.0"
1516
val snmp4jVersion = "3.6.7"

adapters/sql/build.gradle.kts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,12 @@ import org.jetbrains.kotlin.util.capitalizeDecapitalize.toUpperCaseAsciiOnly
55
import java.time.LocalDate
66

77
group = "com.amazonaws.sfc"
8-
version = rootProject.extra.get("sfc_release")!!
8+
version = "1.0.0"
99

10+
val sfcRelease = rootProject.extra.get("sfc_release")!!
1011
val module = "sql"
11-
val sfcCoreVersion = version
12-
val sfcIpcVersion = version
12+
val sfcCoreVersion = sfcRelease
13+
val sfcIpcVersion = sfcRelease
1314
val kotlinCoroutinesVersion = "1.6.2"
1415
val kotlinVersion = "1.9.0"
1516
val reflectionVersion = "1.6.0"

build.gradle.kts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ plugins {
77

88
buildscript {
99
extra.apply {
10-
// SET GLOBAL SFC RELEASE VERSION HERE -> applied to all modules
10+
// SET GLOBAL SFC RELEASE VERSION HERE
11+
// --> applied to sfc-core, sfc-ipc, sfc-main & sfc-metrics <--
1112
set("sfc_release", "1.0.3")
1213
}
1314
}

targets/aws-iot-analytics-target/build.gradle.kts

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,14 @@ import org.jetbrains.kotlin.util.capitalizeDecapitalize.toUpperCaseAsciiOnly
55
import java.time.LocalDate
66

77
group = "com.amazonaws.sfc"
8-
version = rootProject.extra.get("sfc_release")!!
8+
version = "1.0.0"
99

10+
val sfcRelease = rootProject.extra.get("sfc_release")!!
1011
val module = "awsiota"
1112
val kotlinCoroutinesVersion = "1.6.2"
1213
val kotlinVersion = "1.9.0"
13-
14-
15-
val sfcCoreVersion = version
16-
val sfcIpcVersion = version
14+
val sfcCoreVersion = sfcRelease
15+
val sfcIpcVersion = sfcRelease
1716
val awsSdkVersion = "2.17.209"
1817

1918
plugins {

0 commit comments

Comments
 (0)