From 3d38f154edd55c8cfc1077af9ddd45b2016c4005 Mon Sep 17 00:00:00 2001 From: "jonghen.han" Date: Mon, 25 Apr 2022 14:48:27 +0900 Subject: [PATCH] Change build settings to support Connect-SDK-Android-Lite --- README.md | 5 ----- android/build.gradle | 9 +++++---- package.json | 2 +- 3 files changed, 6 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 0b740ef..ed0bf19 100644 --- a/README.md +++ b/README.md @@ -31,11 +31,6 @@ iOS: npx pod-install -Android: - - cd android - git clone https://github.com/ConnectSDK/Connect-SDK-Android-Core - Thats it! Dependencies will be downloaded and set up automatically. **Dependencies will not be downloaded automatically for versions older than 1.6.0. You'll need to check the README from that branch and follow any manual set up steps.** diff --git a/android/build.gradle b/android/build.gradle index 02497b7..25507f7 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -7,7 +7,7 @@ buildscript { } dependencies { - classpath 'com.android.tools.build:gradle:3.5.3' + classpath 'com.android.tools.build:gradle:7.0.2' } } } @@ -19,9 +19,9 @@ def safeExtGet(prop, fallback) { } android { - compileSdkVersion safeExtGet('ConnectsdkReactNative_compileSdkVersion', 29) + compileSdkVersion safeExtGet('ConnectsdkReactNative_compileSdkVersion', 31) defaultConfig { - minSdkVersion safeExtGet('ConnectsdkReactNative_minSdkVersion', 16) + minSdkVersion safeExtGet('ConnectsdkReactNative_minSdkVersion', 24) targetSdkVersion safeExtGet('ConnectsdkReactNative_targetSdkVersion', 29) versionCode 1 versionName "1.0" @@ -51,11 +51,12 @@ repositories { google() mavenCentral() jcenter() + maven { url "https://jitpack.io" } } dependencies { //noinspection GradleDynamicVersion implementation "com.facebook.react:react-native:+" // From node_modules - implementation project(':Connect-SDK-Android-Core') + implementation 'com.github.ConnectSDK:Connect-SDK-Android-Lite:-SNAPSHOT' implementation 'com.google.code.gson:gson:2.8.6' } diff --git a/package.json b/package.json index e27b91c..fc93b5d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "connectsdk-react-native", - "version": "1.0.32", + "version": "1.0.33", "description": "React Native ConnectSDK Component", "main": "lib/commonjs/index", "module": "lib/module/index",