Skip to content

Commit 716cfd5

Browse files
author
tangrui
committed
1、Fix ci config.
1 parent 5e94446 commit 716cfd5

File tree

2 files changed

+28
-4
lines changed

2 files changed

+28
-4
lines changed

app/build.gradle

+5-4
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,13 @@ android {
2222

2323
signingConfigs {
2424
release {
25-
keyAlias rootProject.property("keyAlias").toString()
26-
keyPassword rootProject.property("keyPassword").toString()
27-
storeFile file(rootProject.property("storeFile").toString())
28-
storePassword rootProject.property("storePassword").toString()
25+
keyAlias System.env.Space_keyAlias
26+
keyPassword System.env.Space_keyPassword
27+
storeFile file(System.env.Space_storeFile)
28+
storePassword System.env.Space_storePassword
2929
}
3030
}
31+
3132
buildTypes {
3233
debug {
3334
buildConfigField('String', 'APP_CENTER_SECRET', "\"${System.env.Space_AppCenterSecret}\"")

gradle.properties

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Project-wide Gradle settings.
2+
# IDE (e.g. Android Studio) users:
3+
# Gradle settings configured through the IDE *will override*
4+
# any settings specified in this file.
5+
# For more details on how to configure your build environment visit
6+
# http://www.gradle.org/docs/current/userguide/build_environment.html
7+
# Specifies the JVM arguments used for the daemon process.
8+
# The setting is particularly useful for tweaking memory settings.
9+
org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8
10+
# When configured, Gradle will run in incubating parallel mode.
11+
# This option should only be used with decoupled projects. More details, visit
12+
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
13+
# org.gradle.parallel=true
14+
# AndroidX package structure to make it clearer which packages are bundled with the
15+
# Android operating system, and which are packaged with your app"s APK
16+
# https://developer.android.com/topic/libraries/support-library/androidx-rn
17+
android.useAndroidX=true
18+
# Kotlin code style for this project: "official" or "obsolete":
19+
kotlin.code.style=official
20+
# Enables namespacing of each library's R class so that its R class includes only the
21+
# resources declared in the library itself and none from the library's dependencies,
22+
# thereby reducing the size of the R class for that library
23+
android.nonTransitiveRClass=true

0 commit comments

Comments
 (0)