Skip to content

Commit

Permalink
增加了默认的gradle.properties
Browse files Browse the repository at this point in the history
  • Loading branch information
shark0017 committed Oct 9, 2016
1 parent 4c475fa commit 91e92fa
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 8 deletions.
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,4 @@ local.properties
*/build
.gradle/
/build
app/src/signed/
gradle.properties
app/src/signed/
9 changes: 4 additions & 5 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,6 @@ android {
targetSdkVersion 24
versionCode 1
versionName "1.0"

manifestPlaceholders = [
// 这里需要换成:tencent+你的AppId
"tencentAuthId": TENCENT_AUTHID,
]
testInstrumentationRunner 'android.support.test.runner.AndroidJUnitRunner'
}

Expand Down Expand Up @@ -47,6 +42,10 @@ android {
signed.initWith(buildTypes.release)
signed{
applicationIdSuffix PACKAGE_NAME_SUFFIX
manifestPlaceholders = [
// 这里需要换成:tencent+你的AppId
"tencentAuthId": TENCENT_AUTHID,
]
}
}

Expand Down
25 changes: 25 additions & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Project-wide Gradle settings.

# IDE (e.g. Android Studio) users:
# Gradle settings configured through the IDE *will override*
# any settings specified in this file.

# For more details on how to configure your build environment visit
# http://www.gradle.org/docs/current/userguide/build_environment.html

# Specifies the JVM arguments used for the daemon process.
# The setting is particularly useful for tweaking memory settings.
# Default value: -Xmx10248m -XX:MaxPermSize=256m
# org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8

# When configured, Gradle will run in incubating parallel mode.
# This option should only be used with decoupled projects. More details, visit
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
# org.gradle.parallel=true

STORE_FILE_PATH ../test_key.jks
STORE_PASSWORD test123
KEY_ALIAS kale
KEY_PASSWORD test123
PACKAGE_NAME_SUFFIX .liulishuo.engzo
TENCENT_AUTHID tencent123456
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package com.liulishuo.share.weixin;

import com.liulishuo.share.LoginManager;
import com.liulishuo.share.ShareBlock;
import com.liulishuo.share.ShareManager;
import com.liulishuo.share.LoginManager;
import com.tencent.mm.sdk.modelbase.BaseReq;
import com.tencent.mm.sdk.modelbase.BaseResp;
import com.tencent.mm.sdk.modelmsg.SendAuth;
Expand Down
Binary file added test_key.jks
Binary file not shown.

0 comments on commit 91e92fa

Please sign in to comment.