From 4f401fe6f6864a6168dc5600f101b903835ddb49 Mon Sep 17 00:00:00 2001 From: fengyuecanzhu <1021300691@qq.com> Date: Sun, 20 Jun 2021 13:35:45 +0800 Subject: [PATCH] update --- .gitmodules | 3 ++ .idea/caches/build_file_checksums.ser | Bin 585 -> 0 bytes .idea/markdown-navigator-enh.xml | 10 +++++ .idea/markdown-navigator.xml | 62 ++++++++++++++++++++++++++ .idea/vcs.xml | 1 + app/build.gradle | 22 ++++++++- gradlew | 0 keystore | 1 + 8 files changed, 98 insertions(+), 1 deletion(-) create mode 100644 .gitmodules delete mode 100644 .idea/caches/build_file_checksums.ser create mode 100644 .idea/markdown-navigator-enh.xml create mode 100644 .idea/markdown-navigator.xml mode change 100644 => 100755 gradlew create mode 160000 keystore diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..19dd4d8 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "keystore"] + path = keystore + url = https://github.com/fengyuecanzhu/Key.git diff --git a/.idea/caches/build_file_checksums.ser b/.idea/caches/build_file_checksums.ser deleted file mode 100644 index 5cd7f7f835355055cdbc1f400a68aca0a57c223f..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 585 zcmZ4UmVvdnh`~NNKUXg?FQq6yGexf?KR>5fFEb@IQ7^qHF(oHeub?PDD>b=9F91S2 zm1gFoxMk*~I%lLNXBU^|7Q2L-Ts|(GuF1r}nf0c10SK=O;~lkaUMu4O+hGCKX^#l;c^ z5tq!woc#0%{UngTVY&+$>KNES8aB*-xA1<6`uC#;mDa8BU|mtdz=K_(=@gr9bGJqH zyb3sXMB&ZvIVB7NIr+(nIiTPzNG&SKOf4>jo7&Q`Jz<`8<>mTxxjQc^XJ(c#sOx9s z=cekXrRJqqmZs`M-Jy?&A`COG$oAaqXV}E@vVn8Pn;%YfB@BXiR8Lx1uQ;n{pUJhu kn<6j0T%!ndUSdH34o~l_dLwIo + + + + + + + + + \ No newline at end of file diff --git a/.idea/markdown-navigator.xml b/.idea/markdown-navigator.xml new file mode 100644 index 0000000..a2fc086 --- /dev/null +++ b/.idea/markdown-navigator.xml @@ -0,0 +1,62 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml index 94a25f7..37b4af8 100644 --- a/.idea/vcs.xml +++ b/.idea/vcs.xml @@ -2,5 +2,6 @@ + \ No newline at end of file diff --git a/app/build.gradle b/app/build.gradle index dbdf47a..9d9dfea 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -49,6 +49,14 @@ def getVersionName(){ def versionN = getVersionName() +// 读取keystore.properties +def keyProps = new Properties() +def keyPropsFile = rootProject.file('keystore/keystore.properties') +if (keyPropsFile.exists()) { + keyProps.load(new FileInputStream(keyPropsFile)) +} + + android { compileSdkVersion 29 buildToolsVersion '29.0.3' @@ -60,7 +68,16 @@ android { versionName versionN testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner' } - + + signingConfigs { + myConifg { + keyAlias keyProps['keyAlias'] + keyPassword keyProps['keyPassword'] + storeFile keyProps['storeFile'] ? file(keyProps['storeFile']) : null + storePassword keyProps['storePassword'] + } + } + buildFeatures { viewBinding true } @@ -72,12 +89,15 @@ android { ndk { abiFilters "x86", "armeabi", "armeabi-v7a" } + signingConfig signingConfigs.myConifg } debug { ndk { abiFilters "x86", "armeabi", "armeabi-v7a" } + minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' + signingConfig signingConfigs.myConifg } android.applicationVariants.all { variant -> variant.outputs.all { diff --git a/gradlew b/gradlew old mode 100644 new mode 100755 diff --git a/keystore b/keystore new file mode 160000 index 0000000..d46d54c --- /dev/null +++ b/keystore @@ -0,0 +1 @@ +Subproject commit d46d54c2573c77713809f1061aef135c305bc9f4