Skip to content

Commit

Permalink
sign app
Browse files Browse the repository at this point in the history
  • Loading branch information
YoungTr committed Jun 11, 2021
1 parent e3e4156 commit 3a95844
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 5 deletions.
17 changes: 17 additions & 0 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,15 @@ android {
compileSdkVersion androids.compileSdkVersion
buildToolsVersion androids.buildToolsVersion

signingConfigs {
release {
storeFile file(RELEASE_STORE_FILE)
storePassword RELEASE_STORE_PASSWORD
keyAlias RELEASE_KEY_ALIAS
keyPassword RELEASE_KEY_PASSWORD
}
}

defaultConfig {
applicationId "com.eyepertizer.androidx"
minSdkVersion androids.minSdkVersion
Expand All @@ -26,6 +35,7 @@ android {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
signingConfig signingConfigs.release
}
}
compileOptions {
Expand All @@ -38,6 +48,13 @@ android {
buildFeatures {
viewBinding true
}
lintOptions {
checkReleaseBuilds false
// Or, if you prefer, you can continue to check for errors in release builds,
// but continue the build even when errors are found:
abortOnError false
}

}

dependencies {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,7 @@ class InformationFollowCardViewBinder :
holder.recyclerView.addItemDecoration(InformationCardFollowCardItemDecoration())
}
holder.recyclerView.layoutManager = LinearLayoutManager(holder.itemView.context)
holder.recyclerView.adapter = InformationCardFollowCardAdapter(/*fragment.activity,*/
item.actionUrl,
item.titleList
)
holder.recyclerView.adapter = InformationCardFollowCardAdapter(item.actionUrl, item.titleList)
holder.itemView.setOnClickListener {
ActionUrlUtil.process(it.context as Activity, item.actionUrl)
}
Expand Down
8 changes: 7 additions & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,10 @@ android.useAndroidX=true
# Automatically convert third-party libraries to use AndroidX
android.enableJetifier=true
# Kotlin code style for this project: "official" or "obsolete":
kotlin.code.style=official
kotlin.code.style=official

# keystore
RELEASE_KEY_PASSWORD=eyepertizer
RELEASE_KEY_ALIAS=eyepertizer
RELEASE_STORE_PASSWORD=eyepertizer
RELEASE_STORE_FILE=../keystore/eyepertizer-key.keystore
Binary file added keystore/eyepertizer-key.keystore
Binary file not shown.
Binary file added keystore/eyepertizer-key.keystore.old
Binary file not shown.

0 comments on commit 3a95844

Please sign in to comment.