Skip to content

Commit 513e9bb

Browse files
committed
Signature package
1 parent 5f3ccc3 commit 513e9bb

3 files changed

Lines changed: 26 additions & 2 deletions

File tree

code-reader-kt/build.gradle

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,22 @@ android {
1919
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
2020

2121
}
22+
23+
signingConfigs {
24+
release {
25+
Properties properties = new Properties()
26+
FileInputStream fis = new FileInputStream("$project.rootDir/keystore.properties")
27+
properties.load(fis)
28+
fis.close()
29+
30+
keyAlias = properties.key_alias
31+
storeFile = file(properties.store_file)
32+
33+
storePassword = properties.store_password
34+
keyPassword = properties.key_password
35+
}
36+
}
37+
2238
buildTypes {
2339
release {
2440
minifyEnabled false

code-reader-kt/src/main/res/values-zh/strings.xml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,4 +66,12 @@
6666
<string name="about_email_app_not_have">没有邮箱App,请安装后重试</string>
6767
<string name="about_coreader_github_url">https://github.com/loopeer/code-reader</string>
6868
<string name="about_email_content_tip">来自CoReader客户端</string>
69+
70+
<!--login-->
71+
<string name="login_label">注册</string>
72+
<string name="login_hint_account">用户名或邮箱</string>
73+
<string name="login_hint_password">密码</string>
74+
<string name="login_sign_in">注册</string>
75+
<string name="login_auth_error">用户名或密码错误</string>
76+
<string name="login_over_auth_error">超过最大登录尝试次数,请稍后再试</string>
6977
</resources>

gradle.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ target_sdk_version=25
22
min_sdk_version=14
33
build_tools_version=25.0.0
44
compile_sdk_version=24
5-
version_code=9
6-
version_name=1.0.2
5+
version_code=10
6+
version_name=1.1.0
77

88
kotlin.incremental=false
99
support_version=25.0.1

0 commit comments

Comments
 (0)