From ad4f7bea7da032a69a2ee09fe3ef1aea74693bdb Mon Sep 17 00:00:00 2001 From: oliver Date: Tue, 24 Oct 2023 20:53:31 +0800 Subject: [PATCH] optimize --- OpenIM-SDK/build.gradle | 23 ++++++++++------------- 1 file changed, 10 insertions(+), 13 deletions(-) diff --git a/OpenIM-SDK/build.gradle b/OpenIM-SDK/build.gradle index a85705a..91bd0f6 100644 --- a/OpenIM-SDK/build.gradle +++ b/OpenIM-SDK/build.gradle @@ -12,20 +12,21 @@ android { versionCode 1 versionName "1.0" - testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" - consumerProguardFiles "consumer-rules.pro" +// testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" +// consumerProguardFiles "consumer-rules.pro" ndk { abiFilters "armeabi-v7a", "x86" } } - buildTypes { - release { - minifyEnabled false - proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' - } - } +// buildTypes { +// release { +// minifyEnabled false +// proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), +// 'proguard-rules.pro' +// } +// } compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 @@ -46,11 +47,7 @@ android { } } } -repositories { - flatDir { - dirs 'libs' - } -} + dependencies { implementation 'androidx.lifecycle:lifecycle-process:2.6.1' implementation 'androidx.annotation:annotation:1.6.0'