diff --git a/device/iot-device-client/src/main/java/com/microsoft/azure/sdk/iot/device/transport/TransportUtils.java b/device/iot-device-client/src/main/java/com/microsoft/azure/sdk/iot/device/transport/TransportUtils.java index 3fb0facbdf..c9836ca1ab 100644 --- a/device/iot-device-client/src/main/java/com/microsoft/azure/sdk/iot/device/transport/TransportUtils.java +++ b/device/iot-device-client/src/main/java/com/microsoft/azure/sdk/iot/device/transport/TransportUtils.java @@ -10,7 +10,7 @@ public class TransportUtils public static final String IOTHUB_API_VERSION = "2020-09-30"; private static final String JAVA_DEVICE_CLIENT_IDENTIFIER = "com.microsoft.azure.sdk.iot.iot-device-client"; - private static final String CLIENT_VERSION = "2.0.0-preview-001"; + private static final String CLIENT_VERSION = "2.0.0-preview-002"; private static final String JAVA_RUNTIME = System.getProperty("java.version"); private static final String OPERATING_SYSTEM = System.getProperty("java.runtime.name").toLowerCase().contains("android") ? "Android" : System.getProperty("os.name"); diff --git a/device/iot-device-samples/android-sample/app/build.gradle b/device/iot-device-samples/android-sample/app/build.gradle index 6a0269e720..316cfed80d 100644 --- a/device/iot-device-samples/android-sample/app/build.gradle +++ b/device/iot-device-samples/android-sample/app/build.gradle @@ -48,7 +48,7 @@ dependencies { testImplementation 'junit:junit:4.12' // Remote binary dependency - api ('com.microsoft.azure.sdk.iot:iot-device-client:2.0.0-preview-001') { + api ('com.microsoft.azure.sdk.iot:iot-device-client:2.0.0-preview-002') { exclude module: 'slf4j-api' } implementation 'org.slf4j:slf4j-android:1.7.29' diff --git a/pom.xml b/pom.xml index f455918338..adca22602e 100644 --- a/pom.xml +++ b/pom.xml @@ -33,11 +33,11 @@ dice-provider x509-provider - 2.0.0-preview-001 - 2.0.0-preview-001 + 2.0.0-preview-002 + 2.0.0-preview-002 2.0.0-preview-001 - 2.0.0-preview-001 - 2.0.0-preview-001 + 2.0.0-preview-002 + 2.0.0-preview-002 2.0.0-preview-001 1.1.2 2.0.0-preview-001 diff --git a/provisioning/provisioning-device-client/src/main/java/com/microsoft/azure/sdk/iot/provisioning/device/internal/SDKUtils.java b/provisioning/provisioning-device-client/src/main/java/com/microsoft/azure/sdk/iot/provisioning/device/internal/SDKUtils.java index 6c9f70c951..f2c5f15e05 100644 --- a/provisioning/provisioning-device-client/src/main/java/com/microsoft/azure/sdk/iot/provisioning/device/internal/SDKUtils.java +++ b/provisioning/provisioning-device-client/src/main/java/com/microsoft/azure/sdk/iot/provisioning/device/internal/SDKUtils.java @@ -11,7 +11,7 @@ public class SDKUtils { private static final String SERVICE_API_VERSION = "2019-03-31"; public static final String PROVISIONING_DEVICE_CLIENT_IDENTIFIER = "com.microsoft.azure.sdk.iot.dps.dps-device-client/"; - public static final String PROVISIONING_DEVICE_CLIENT_VERSION = "2.0.0-preview-001"; + public static final String PROVISIONING_DEVICE_CLIENT_VERSION = "2.0.0-preview-002"; private static final String JAVA_RUNTIME = System.getProperty("java.version"); private static final String OPERATING_SYSTEM = System.getProperty("java.runtime.name").toLowerCase().contains("android") ? "Android" : System.getProperty("os.name"); diff --git a/provisioning/provisioning-service-client/src/main/java/com/microsoft/azure/sdk/iot/provisioning/service/contract/SDKUtils.java b/provisioning/provisioning-service-client/src/main/java/com/microsoft/azure/sdk/iot/provisioning/service/contract/SDKUtils.java index dd849c4baa..ec9b2ce3c8 100644 --- a/provisioning/provisioning-service-client/src/main/java/com/microsoft/azure/sdk/iot/provisioning/service/contract/SDKUtils.java +++ b/provisioning/provisioning-service-client/src/main/java/com/microsoft/azure/sdk/iot/provisioning/service/contract/SDKUtils.java @@ -10,7 +10,7 @@ class SDKUtils { private static final String SERVICE_API_VERSION = "2019-03-31"; private static final String PROVISIONING_SERVICE_CLIENT = "com.microsoft.azure.sdk.iot.provisioning.service.provisioning-service-client/"; - private static final String PROVISIONING_SERVICE_CLIENT_VERSION = "2.0.0-preview-001"; + private static final String PROVISIONING_SERVICE_CLIENT_VERSION = "2.0.0-preview-002"; private static final String JAVA_RUNTIME = System.getProperty("java.version"); private static final String OPERATING_SYSTEM = System.getProperty("java.runtime.name").toLowerCase().contains("android") ? "Android" : System.getProperty("os.name"); diff --git a/service/iot-service-client/src/main/java/com/microsoft/azure/sdk/iot/service/transport/TransportUtils.java b/service/iot-service-client/src/main/java/com/microsoft/azure/sdk/iot/service/transport/TransportUtils.java index c847f97908..dde2c817b9 100644 --- a/service/iot-service-client/src/main/java/com/microsoft/azure/sdk/iot/service/transport/TransportUtils.java +++ b/service/iot-service-client/src/main/java/com/microsoft/azure/sdk/iot/service/transport/TransportUtils.java @@ -8,7 +8,7 @@ public class TransportUtils /** Version identifier key */ public static final String versionIdentifierKey = "com.microsoft:client-version"; public static final String javaServiceClientIdentifier = "com.microsoft.azure.sdk.iot.iot-service-client/"; - public static final String serviceVersion = "2.0.0-preview-001"; + public static final String serviceVersion = "2.0.0-preview-002"; private static final String JAVA_RUNTIME = System.getProperty("java.version"); private static final String OPERATING_SYSTEM = System.getProperty("java.runtime.name").toLowerCase().contains("android") ? "Android" : System.getProperty("os.name");