Skip to content

Commit

Permalink
🐛 修复安卓gradle4.x引用本地arr的问题。
Browse files Browse the repository at this point in the history
  • Loading branch information
simman committed Apr 12, 2021
1 parent 334481b commit 37d37aa
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 10 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 2.0.1

* 修复安卓gradle4.x引用本地arr的问题。

## 2.0.0

* 支持空安全
Expand Down
9 changes: 1 addition & 8 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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'
}
Binary file removed android/libs/captcha-release_v3.2.0.aar
Binary file not shown.
4 changes: 3 additions & 1 deletion example/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -13,6 +12,9 @@ buildscript {

allprojects {
repositories {
maven {
url 'https://cdn.jsdelivr.net/gh/flutter-fast-kit/maven-repository'
}
google()
jcenter()
}
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down

0 comments on commit 37d37aa

Please sign in to comment.