Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

将原本通过AIDL链接模式改为官方的远程依赖模式。 #5

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@
.pub/

build/
/.idea
19 changes: 14 additions & 5 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,12 @@ version '1.0'

buildscript {
repositories {
google()
jcenter()
maven { url 'http://maven.aliyun.com/repository/google' }
maven { url 'http://maven.aliyun.com/repository/jcenter' }
maven { url 'http://maven.aliyun.com/nexus/content/groups/public' }
maven { url 'http://maven.aliyun.com/nexus/content/repositories/gradle-plugin' }
// google()
// jcenter()
}

dependencies {
Expand All @@ -14,8 +18,12 @@ buildscript {

rootProject.allprojects {
repositories {
google()
jcenter()
maven { url 'http://maven.aliyun.com/repository/google' }
maven { url 'http://maven.aliyun.com/repository/jcenter' }
maven { url 'http://maven.aliyun.com/nexus/content/groups/public' }
maven { url 'http://maven.aliyun.com/nexus/content/repositories/gradle-plugin' }
// google()
// jcenter()
flatDir {
dirs project(':flutter_sunmi_printer').file('libs')
}
Expand All @@ -28,7 +36,7 @@ android {
compileSdkVersion 28

defaultConfig {
minSdkVersion 16
minSdkVersion 19
}
lintOptions {
disable 'InvalidPackage'
Expand All @@ -37,6 +45,7 @@ android {

dependencies{
implementation(name: 'payLib', ext: 'aar')
implementation 'com.sunmi:printerlibrary:1.0.9'
// https://mvnrepository.com/artifact/com.google.zxing/core
compileOnly(name: 'core-3.4.0', ext: 'jar')
}
3 changes: 0 additions & 3 deletions android/src/main/aidl/com/sunmi/trans/TransBean.aidl

This file was deleted.

35 changes: 0 additions & 35 deletions android/src/main/aidl/woyou/aidlservice/jiuiv5/ICallback.aidl

This file was deleted.

10 changes: 0 additions & 10 deletions android/src/main/aidl/woyou/aidlservice/jiuiv5/ITax.aidl

This file was deleted.

Loading