diff --git a/CHANGELOG.md b/CHANGELOG.md index 67a99ad..4e5763c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## 2.0.1 + +* 修复安卓gradle4.x引用本地arr的问题。 + ## 2.0.0 * 支持空安全 diff --git a/android/build.gradle b/android/build.gradle index d20c044..b8c640a 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -36,16 +36,9 @@ android { lintOptions { disable 'InvalidPackage' } - - repositories { - flatDir { - dirs 'libs' - } - } } dependencies { implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" - implementation fileTree(include: ['*.aar'], dir: 'libs') - implementation files('libs/captcha-release_v3.2.0.aar') + implementation 'com.netease.nis:captcha:3.0.2' } diff --git a/android/libs/captcha-release_v3.2.0.aar b/android/libs/captcha-release_v3.2.0.aar deleted file mode 100644 index f4f4047..0000000 Binary files a/android/libs/captcha-release_v3.2.0.aar and /dev/null differ diff --git a/example/android/build.gradle b/example/android/build.gradle index c505a86..1f0fd45 100644 --- a/example/android/build.gradle +++ b/example/android/build.gradle @@ -4,7 +4,6 @@ buildscript { google() jcenter() } - dependencies { classpath 'com.android.tools.build:gradle:4.1.0' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" @@ -13,6 +12,9 @@ buildscript { allprojects { repositories { + maven { + url 'https://cdn.jsdelivr.net/gh/flutter-fast-kit/maven-repository' + } google() jcenter() } diff --git a/pubspec.yaml b/pubspec.yaml index 3feb9bf..05ad1c1 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: flutter_net_captcha description: Net Captcha plugin for Flutter. -version: 2.0.0 +version: 2.0.1 homepage: https://github.com/flutter-fast-kit/flutter_net_captcha environment: