forked from wxs2/xposed-pay
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
144 changed files
with
6,821 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
**/nbproject/private/ | ||
**/nbproject/Makefile-*.mk | ||
**/nbproject/Package-*.bash | ||
build/ | ||
nbbuild/ | ||
dist/ | ||
nbdist/ | ||
.nb-gradle/ | ||
.gradle/ | ||
.idea/ | ||
app/release/ | ||
app/VIP/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,148 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<module external.linked.project.id=":app" external.linked.project.path="$MODULE_DIR$" external.root.project.path="$MODULE_DIR$/.." external.system.id="GRADLE" type="JAVA_MODULE" version="4"> | ||
<component name="FacetManager"> | ||
<facet type="android-gradle" name="Android-Gradle"> | ||
<configuration> | ||
<option name="GRADLE_PROJECT_PATH" value=":app" /> | ||
</configuration> | ||
</facet> | ||
<facet type="android" name="Android"> | ||
<configuration> | ||
<option name="SELECTED_BUILD_VARIANT" value="release" /> | ||
<option name="ASSEMBLE_TASK_NAME" value="assembleRelease" /> | ||
<option name="COMPILE_JAVA_TASK_NAME" value="compileReleaseSources" /> | ||
<afterSyncTasks> | ||
<task>generateReleaseSources</task> | ||
</afterSyncTasks> | ||
<option name="ALLOW_USER_CONFIGURATION" value="false" /> | ||
<option name="MANIFEST_FILE_RELATIVE_PATH" value="/src/main/AndroidManifest.xml" /> | ||
<option name="RES_FOLDER_RELATIVE_PATH" value="/src/main/res" /> | ||
<option name="RES_FOLDERS_RELATIVE_PATH" value="file://$MODULE_DIR$/src/main/res;file://$MODULE_DIR$/build/generated/res/resValues/release" /> | ||
<option name="TEST_RES_FOLDERS_RELATIVE_PATH" value="" /> | ||
<option name="ASSETS_FOLDER_RELATIVE_PATH" value="/src/main/assets" /> | ||
</configuration> | ||
</facet> | ||
</component> | ||
<component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_8"> | ||
<output url="file://$MODULE_DIR$/build/intermediates/javac/release/compileReleaseJavaWithJavac/classes" /> | ||
<output-test url="file://$MODULE_DIR$/build/intermediates/javac/releaseUnitTest/compileReleaseUnitTestJavaWithJavac/classes" /> | ||
<exclude-output /> | ||
<content url="file://$MODULE_DIR$"> | ||
<sourceFolder url="file://$MODULE_DIR$/build/generated/source/apt/release" isTestSource="false" generated="true" /> | ||
<sourceFolder url="file://$MODULE_DIR$/build/generated/aidl_source_output_dir/release/compileReleaseAidl/out" isTestSource="false" generated="true" /> | ||
<sourceFolder url="file://$MODULE_DIR$/build/generated/source/buildConfig/release" isTestSource="false" generated="true" /> | ||
<sourceFolder url="file://$MODULE_DIR$/build/generated/renderscript_source_output_dir/release/compileReleaseRenderscript/out" isTestSource="false" generated="true" /> | ||
<sourceFolder url="file://$MODULE_DIR$/build/generated/res/rs/release" type="java-resource" /> | ||
<sourceFolder url="file://$MODULE_DIR$/build/generated/res/resValues/release" type="java-resource" /> | ||
<sourceFolder url="file://$MODULE_DIR$/build/generated/source/apt/test/release" isTestSource="true" generated="true" /> | ||
<sourceFolder url="file://$MODULE_DIR$/src/release/res" type="java-resource" /> | ||
<sourceFolder url="file://$MODULE_DIR$/src/release/resources" type="java-resource" /> | ||
<sourceFolder url="file://$MODULE_DIR$/src/release/assets" type="java-resource" /> | ||
<sourceFolder url="file://$MODULE_DIR$/src/release/aidl" isTestSource="false" /> | ||
<sourceFolder url="file://$MODULE_DIR$/src/release/java" isTestSource="false" /> | ||
<sourceFolder url="file://$MODULE_DIR$/src/release/rs" isTestSource="false" /> | ||
<sourceFolder url="file://$MODULE_DIR$/src/release/shaders" isTestSource="false" /> | ||
<sourceFolder url="file://$MODULE_DIR$/src/testRelease/res" type="java-test-resource" /> | ||
<sourceFolder url="file://$MODULE_DIR$/src/testRelease/resources" type="java-test-resource" /> | ||
<sourceFolder url="file://$MODULE_DIR$/src/testRelease/assets" type="java-test-resource" /> | ||
<sourceFolder url="file://$MODULE_DIR$/src/testRelease/aidl" isTestSource="true" /> | ||
<sourceFolder url="file://$MODULE_DIR$/src/testRelease/java" isTestSource="true" /> | ||
<sourceFolder url="file://$MODULE_DIR$/src/testRelease/rs" isTestSource="true" /> | ||
<sourceFolder url="file://$MODULE_DIR$/src/testRelease/shaders" isTestSource="true" /> | ||
<sourceFolder url="file://$MODULE_DIR$/src/main/res" type="java-resource" /> | ||
<sourceFolder url="file://$MODULE_DIR$/src/main/resources" type="java-resource" /> | ||
<sourceFolder url="file://$MODULE_DIR$/src/main/assets" type="java-resource" /> | ||
<sourceFolder url="file://$MODULE_DIR$/src/main/aidl" isTestSource="false" /> | ||
<sourceFolder url="file://$MODULE_DIR$/src/main/java" isTestSource="false" /> | ||
<sourceFolder url="file://$MODULE_DIR$/src/main/rs" isTestSource="false" /> | ||
<sourceFolder url="file://$MODULE_DIR$/src/main/shaders" isTestSource="false" /> | ||
<sourceFolder url="file://$MODULE_DIR$/src/test/res" type="java-test-resource" /> | ||
<sourceFolder url="file://$MODULE_DIR$/src/test/resources" type="java-test-resource" /> | ||
<sourceFolder url="file://$MODULE_DIR$/src/test/assets" type="java-test-resource" /> | ||
<sourceFolder url="file://$MODULE_DIR$/src/test/aidl" isTestSource="true" /> | ||
<sourceFolder url="file://$MODULE_DIR$/src/test/java" isTestSource="true" /> | ||
<sourceFolder url="file://$MODULE_DIR$/src/test/rs" isTestSource="true" /> | ||
<sourceFolder url="file://$MODULE_DIR$/src/test/shaders" isTestSource="true" /> | ||
<sourceFolder url="file://$MODULE_DIR$/src/androidTest/res" type="java-test-resource" /> | ||
<sourceFolder url="file://$MODULE_DIR$/src/androidTest/resources" type="java-test-resource" /> | ||
<sourceFolder url="file://$MODULE_DIR$/src/androidTest/assets" type="java-test-resource" /> | ||
<sourceFolder url="file://$MODULE_DIR$/src/androidTest/aidl" isTestSource="true" /> | ||
<sourceFolder url="file://$MODULE_DIR$/src/androidTest/java" isTestSource="true" /> | ||
<sourceFolder url="file://$MODULE_DIR$/src/androidTest/rs" isTestSource="true" /> | ||
<sourceFolder url="file://$MODULE_DIR$/src/androidTest/shaders" isTestSource="true" /> | ||
<excludeFolder url="file://$MODULE_DIR$/build/generated/not_namespaced_r_class_sources" /> | ||
<excludeFolder url="file://$MODULE_DIR$/build/generated/source/r" /> | ||
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/annotation_processor_list" /> | ||
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/apk_list" /> | ||
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/blame" /> | ||
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/bundle_manifest" /> | ||
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/check_manifest_result" /> | ||
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/compatible_screen_manifest" /> | ||
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/duplicate_classes_check" /> | ||
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/incremental" /> | ||
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/instant_app_manifest" /> | ||
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/instant_run_merged_manifests" /> | ||
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/javac" /> | ||
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/merged_assets" /> | ||
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/merged_jni_libs" /> | ||
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/merged_manifests" /> | ||
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/merged_shaders" /> | ||
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/metadata_feature_manifest" /> | ||
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/prebuild" /> | ||
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/processed_res" /> | ||
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/res" /> | ||
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/shader_assets" /> | ||
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/signing_config" /> | ||
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/symbols" /> | ||
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/transforms" /> | ||
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/validate_signing_config" /> | ||
<excludeFolder url="file://$MODULE_DIR$/build/outputs" /> | ||
<excludeFolder url="file://$MODULE_DIR$/build/reports" /> | ||
<excludeFolder url="file://$MODULE_DIR$/build/tmp" /> | ||
</content> | ||
<orderEntry type="jdk" jdkName="Android API 28 Platform" jdkType="Android SDK" /> | ||
<orderEntry type="sourceFolder" forTests="false" /> | ||
<orderEntry type="library" name="Gradle: com.android.support:support-fragment:28.0.0@aar" level="project" /> | ||
<orderEntry type="library" name="Gradle: com.android.support:localbroadcastmanager:28.0.0@aar" level="project" /> | ||
<orderEntry type="library" name="Gradle: com.android.support:documentfile:28.0.0@aar" level="project" /> | ||
<orderEntry type="library" name="Gradle: com.android.support:animated-vector-drawable:28.0.0@aar" level="project" /> | ||
<orderEntry type="library" name="Gradle: com.android.support:slidingpanelayout:28.0.0@aar" level="project" /> | ||
<orderEntry type="library" name="Gradle: org.jetbrains.kotlin:kotlin-stdlib:1.3.40@jar" level="project" /> | ||
<orderEntry type="library" name="Gradle: android.arch.lifecycle:viewmodel:1.1.1@aar" level="project" /> | ||
<orderEntry type="library" name="Gradle: com.android.support:appcompat-v7:28.0.0@aar" level="project" /> | ||
<orderEntry type="library" name="Gradle: com.android.support:loader:28.0.0@aar" level="project" /> | ||
<orderEntry type="library" name="Gradle: android.arch.core:runtime:1.1.1@aar" level="project" /> | ||
<orderEntry type="library" name="Gradle: android.arch.lifecycle:livedata-core:1.1.1@aar" level="project" /> | ||
<orderEntry type="library" name="Gradle: com.android.support:collections:28.0.0@jar" level="project" /> | ||
<orderEntry type="library" name="Gradle: com.android.support:cursoradapter:28.0.0@aar" level="project" /> | ||
<orderEntry type="library" name="Gradle: android.arch.lifecycle:runtime:1.1.1@aar" level="project" /> | ||
<orderEntry type="library" name="Gradle: com.android.support:support-compat:28.0.0@aar" level="project" /> | ||
<orderEntry type="library" name="Gradle: com.android.support:support-core-ui:28.0.0@aar" level="project" /> | ||
<orderEntry type="library" name="Gradle: cn.yipianfengye.android:zxing-library:2.2@aar" level="project" /> | ||
<orderEntry type="library" name="Gradle: com.android.support:asynclayoutinflater:28.0.0@aar" level="project" /> | ||
<orderEntry type="library" name="Gradle: com.android.support.constraint:constraint-layout:1.1.3@aar" level="project" /> | ||
<orderEntry type="library" name="Gradle: com.android.support:print:28.0.0@aar" level="project" /> | ||
<orderEntry type="library" name="Gradle: com.squareup.okhttp3:okhttp:4.0.1@jar" level="project" /> | ||
<orderEntry type="library" name="Gradle: org.jetbrains:annotations:13.0@jar" level="project" /> | ||
<orderEntry type="library" name="Gradle: com.tencent.bugly:nativecrashreport:3.7.1@aar" level="project" /> | ||
<orderEntry type="library" name="Gradle: android.arch.core:common:1.1.1@jar" level="project" /> | ||
<orderEntry type="library" name="Gradle: com.android.support:versionedparcelable:28.0.0@aar" level="project" /> | ||
<orderEntry type="library" scope="TEST" name="Gradle: junit:junit:4.12@jar" level="project" /> | ||
<orderEntry type="library" scope="TEST" name="Gradle: org.hamcrest:hamcrest-core:1.3@jar" level="project" /> | ||
<orderEntry type="library" name="Gradle: com.tencent.bugly:crashreport_upgrade:1.4.1@aar" level="project" /> | ||
<orderEntry type="library" name="Gradle: com.android.support:viewpager:28.0.0@aar" level="project" /> | ||
<orderEntry type="library" name="Gradle: com.squareup.okio:okio:2.2.2@jar" level="project" /> | ||
<orderEntry type="library" name="Gradle: org.jetbrains.kotlin:kotlin-stdlib-common:1.3.40@jar" level="project" /> | ||
<orderEntry type="library" name="Gradle: com.android.support:support-core-utils:28.0.0@aar" level="project" /> | ||
<orderEntry type="library" name="Gradle: com.android.support:support-vector-drawable:28.0.0@aar" level="project" /> | ||
<orderEntry type="library" name="Gradle: com.android.support:support-annotations:28.0.0@jar" level="project" /> | ||
<orderEntry type="library" name="Gradle: android.arch.lifecycle:common:1.1.1@jar" level="project" /> | ||
<orderEntry type="library" name="Gradle: com.android.support:interpolator:28.0.0@aar" level="project" /> | ||
<orderEntry type="library" name="Gradle: android.arch.lifecycle:livedata:1.1.1@aar" level="project" /> | ||
<orderEntry type="library" name="Gradle: com.android.support:drawerlayout:28.0.0@aar" level="project" /> | ||
<orderEntry type="library" name="Gradle: com.android.support:coordinatorlayout:28.0.0@aar" level="project" /> | ||
<orderEntry type="library" name="Gradle: com.android.support:customview:28.0.0@aar" level="project" /> | ||
<orderEntry type="library" name="Gradle: com.android.support:swiperefreshlayout:28.0.0@aar" level="project" /> | ||
<orderEntry type="library" name="Gradle: com.android.support.constraint:constraint-layout-solver:1.1.3@jar" level="project" /> | ||
</component> | ||
</module> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
ext { | ||
VIP = 1 | ||
} | ||
apply plugin: 'com.android.application' | ||
|
||
android { | ||
signingConfigs { | ||
debug { | ||
storeFile file('E:\\workspace\\key\\ukafu.zykj') | ||
storePassword '99044231' | ||
keyAlias = 'ukafu' | ||
keyPassword '99044231' | ||
} | ||
release { | ||
storeFile file('E:\\workspace\\key\\ukafu.zykj') | ||
storePassword '99044231' | ||
keyAlias = var | ||
keyPassword '99044231' | ||
} | ||
} | ||
compileSdkVersion 28 | ||
defaultConfig { | ||
applicationId appid | ||
minSdkVersion 21 | ||
targetSdkVersion 28 | ||
versionCode 20003 | ||
versionName "2.0.3" | ||
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" | ||
signingConfig signingConfigs.release | ||
buildConfigField "String","BUGLY_APPID",'"ff0995764e"' | ||
buildConfigField "String","BUGLY_KEY",'"9470054f-3671-467b-bf31-8c9244c8b781"' | ||
} | ||
buildTypes { | ||
release { | ||
minifyEnabled false | ||
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' | ||
signingConfig signingConfigs.release | ||
} | ||
VIP { | ||
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' | ||
signingConfig signingConfigs.release | ||
manifestPlaceholders = [package: appid] | ||
versionNameSuffix = 'vip' | ||
applicationIdSuffix = 'vip' | ||
buildConfigField "String","BUGLY_APPID",'"1400068562"' | ||
buildConfigField "String","BUGLY_KEY",'"8e4f5482-b9c6-44d5-96af-58cab3dc407c"' | ||
} | ||
} | ||
compileOptions { | ||
sourceCompatibility = '1.8' | ||
targetCompatibility = '1.8' | ||
} | ||
buildToolsVersion = '28.0.3' | ||
} | ||
|
||
dependencies { | ||
implementation fileTree(dir: 'libs', include: ['*.jar']) | ||
implementation 'com.android.support:appcompat-v7:28.0.0' | ||
testImplementation 'junit:junit:4.12' | ||
androidTestImplementation 'com.android.support.test:runner:1.0.2' | ||
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2' | ||
|
||
implementation("com.squareup.okhttp3:okhttp:4.0.1") | ||
|
||
implementation ('cn.yipianfengye.android:zxing-library:2.2'){ | ||
exclude group: 'com.android.support' | ||
} | ||
//注释掉原有bugly的仓库 | ||
implementation 'com.tencent.bugly:crashreport_upgrade:latest.release' | ||
//其中latest.release指代最新版本号,也可以指定明确的版本号,例如1.2.0 | ||
implementation 'com.tencent.bugly:nativecrashreport:latest.release' | ||
implementation 'com.android.support.constraint:constraint-layout:1.1.3' | ||
//其中latest.release指代最新版本号,也可以指定明确的版本号,例如2.2.0 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# Add project specific ProGuard rules here. | ||
# You can control the set of applied configuration files using the | ||
# proguardFiles setting in build.gradle. | ||
# | ||
# For more details, see | ||
# http://developer.android.com/guide/developing/tools/proguard.html | ||
|
||
# If your project uses WebView with JS, uncomment the following | ||
# and specify the fully qualified class name to the JavaScript interface | ||
# class: | ||
#-keepclassmembers class fqcn.of.javascript.interface.for.webview { | ||
# public *; | ||
#} | ||
|
||
# Uncomment this to preserve the line number information for | ||
# debugging stack traces. | ||
#-keepattributes SourceFile,LineNumberTable | ||
|
||
# If you keep the line number information, uncomment this to | ||
# hide the original source file name. | ||
#-renamesourcefileattribute SourceFile |
26 changes: 26 additions & 0 deletions
26
src/app/src/androidTest/java/com/zhiyi/ukafu/ExampleInstrumentedTest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
package com.zhiyi.ukafu; | ||
|
||
import android.content.Context; | ||
import android.support.test.InstrumentationRegistry; | ||
import android.support.test.runner.AndroidJUnit4; | ||
|
||
import org.junit.Test; | ||
import org.junit.runner.RunWith; | ||
|
||
import static org.junit.Assert.*; | ||
|
||
/** | ||
* Instrumented test, which will execute on an Android device. | ||
* | ||
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a> | ||
*/ | ||
@RunWith(AndroidJUnit4.class) | ||
public class ExampleInstrumentedTest { | ||
@Test | ||
public void useAppContext() { | ||
// Context of the app under test. | ||
Context appContext = InstrumentationRegistry.getTargetContext(); | ||
|
||
assertEquals("com.zhiyi.ukafu", appContext.getPackageName()); | ||
} | ||
} |
Oops, something went wrong.