Browse Source

增加签名

root 7 months ago
parent
commit
e5743a47ac
3 changed files with 14 additions and 4 deletions
  1. BIN
      app/IPrint.jks
  2. 12 2
      app/build.gradle
  3. 2 2
      guidelib/build.gradle

BIN
app/IPrint.jks


+ 12 - 2
app/build.gradle

@@ -5,6 +5,15 @@ plugins {
 android {
     compileSdkVersion 33
 
+    signingConfigs {
+        release {
+            storeFile file('IPrint.jks')
+            storePassword 'hXNYpUVd'
+            keyAlias 'key0'
+            keyPassword 'hXNYpUVd'
+        }
+    }
+
     defaultConfig {
         applicationId "epson.print"
         minSdkVersion 16
@@ -14,6 +23,7 @@ android {
         multiDexEnabled true
 
         testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
+        signingConfig signingConfigs.release
     }
 
     buildTypes {
@@ -28,8 +38,8 @@ android {
         }
     }
     compileOptions {
-        sourceCompatibility JavaVersion.VERSION_1_8
-        targetCompatibility JavaVersion.VERSION_1_8
+        sourceCompatibility JavaVersion.VERSION_11
+        targetCompatibility JavaVersion.VERSION_11
     }
     flavorDimensions 'flavor1'
     productFlavors {

+ 2 - 2
guidelib/build.gradle

@@ -22,8 +22,8 @@ android {
         }
     }
     compileOptions {
-        sourceCompatibility JavaVersion.VERSION_1_8
-        targetCompatibility JavaVersion.VERSION_1_8
+        sourceCompatibility JavaVersion.VERSION_11
+        targetCompatibility JavaVersion.VERSION_11
     }
 }