Skip to content

Commit

Permalink
v 2.0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
princekin-f committed Dec 1, 2021
1 parent db9e6e2 commit 40fb05f
Show file tree
Hide file tree
Showing 20 changed files with 173 additions and 185 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
## EasyFloat:Android悬浮窗框架
[![](https://jitpack.io/v/mr-bogey/EasyFloat.svg)](https://jitpack.io/#mr-bogey/EasyFloat)
[![](https://jitpack.io/v/princekin-f/EasyFloat.svg)](https://jitpack.io/#princekin-f/EasyFloat)
[![License](https://img.shields.io/badge/License%20-Apache%202-337ab7.svg)](https://www.apache.org/licenses/LICENSE-2.0)

> [EasyFloat:浮窗从未如此简单](https://www.jianshu.com/p/7d1a7c82094a)
Expand Down Expand Up @@ -44,7 +44,7 @@ allprojects {
- **在应用模块的`build.gradle`添加:**
```
dependencies {
implementation 'com.github.princekin-f:EasyFloat:2.0.3'
implementation 'com.github.princekin-f:EasyFloat:2.0.4'
}
```

Expand Down Expand Up @@ -161,8 +161,8 @@ isShow(tag: String? = null)
// 获取我们设置的浮窗View
getFloatView(tag: String? = null)
// 更新浮窗坐标,未指定坐标执行吸附动画
updateFloat(tag: String? = null, x: Int = -1, y: Int = -1)
// 更新浮窗位置、大小信息,未指定数值执行吸附动画
updateFloat(tag: String? = null, x: Int = -1, y: Int = -1, width: Int = -1, height: Int = -1)
// ******************* 系统浮窗独有 *******************
// 添加单个浮窗过滤页面
Expand Down
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules.

buildscript {
ext.kotlin_version = '1.4.20'
ext.kotlin_version = '1.5.31'
repositories {
google()
jcenter()
maven { url "https://jitpack.io" }
}
dependencies {
classpath 'com.android.tools.build:gradle:4.1.1'
classpath 'com.android.tools.build:gradle:4.1.3'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1'
// NOTE: Do not place your application dependencies here; they belong
Expand Down
7 changes: 5 additions & 2 deletions easyfloat/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,16 @@ apply plugin: 'com.github.dcendents.android-maven'
group = 'com.github.princekin-f'

android {
compileSdkVersion 28
compileSdkVersion 29

defaultConfig {
minSdkVersion 17
targetSdkVersion 28
targetSdkVersion 29
versionCode 1
versionName "1.0"

// aar 打包混淆配置
consumerProguardFiles "proguard-rules.pro"
}

buildTypes {
Expand Down
Loading

0 comments on commit 40fb05f

Please sign in to comment.