Skip to content

Commit

Permalink
1.fragmentation 1.1.2 → 1.1.4
Browse files Browse the repository at this point in the history
2.androidx_appcompat 1.0.2 → 1.1.0
3.androidx_recyclerview 1.0.0 → 1.1.0
4.kotlin_ktx 1.0.2 → 1.2.0
5.arouter_api 1.4.1 → 1.5.0
6.版本升级为3.0.9
  • Loading branch information
tiamosu committed Feb 11, 2020
1 parent f5dbaa5 commit 432a550
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
18 changes: 9 additions & 9 deletions buildSrc/src/main/kotlin/Configuration.kt
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
@file:Suppress("unused", "SpellCheckingInspection")

object Android {
const val compileSdkVersion = 28
const val buildToolsVersion = "28.0.3"
const val compileSdkVersion = 29
const val buildToolsVersion = "29.0.2"
const val minSdkVersion = 15
const val targetSdkVersion = 28
const val targetSdkVersion = 29

const val versionName = "1.0"
const val versionCode = 1
Expand All @@ -18,14 +18,14 @@ object Versions {
const val autodispose = "1.4.0"
const val glide = "4.11.0"
const val dagger2 = "2.26"
const val fragmentation = "1.1.2"
const val fragmentation = "1.1.4"
const val fly = "3.0.8"
}

object Publish {
const val userOrg = "weixia" //bintray.com用户名
const val groupId = "me.xia" //jcenter上的路径
const val publishVersion = "3.0.8" //版本号
const val publishVersion = "3.0.9" //版本号
const val desc = "Oh hi, this is a nice description for a project, right?"
const val website = "https://github.com/tiamosu/X-MVPFly"
const val gitUrl = "https://github.com/tiamosu/X-MVPFly.git"
Expand All @@ -35,19 +35,19 @@ object Publish {
object Deps {
//support
const val androidx_annotation = "androidx.annotation:annotation:1.1.0"
const val androidx_appcompat = "androidx.appcompat:appcompat:1.0.2"
const val androidx_recyclerview = "androidx.recyclerview:recyclerview:1.0.0"
const val androidx_appcompat = "androidx.appcompat:appcompat:1.1.0"
const val androidx_recyclerview = "androidx.recyclerview:recyclerview:1.1.0"
const val androidx_multidex = "androidx.multidex:multidex:2.0.1"
const val androidx_constraint_layout = "androidx.constraintlayout:constraintlayout:1.1.3"

//kotlin
const val kotlin_stdlib = "org.jetbrains.kotlin:kotlin-stdlib:${Versions.kotlin}"
const val kotlin_stdlib_jdk7 = "org.jetbrains.kotlin:kotlin-stdlib-jdk7:${Versions.kotlin}"
const val kotlin_stdlib_jdk8 = "org.jetbrains.kotlin:kotlin-stdlib-jdk8:${Versions.kotlin}"
const val kotlin_ktx = "androidx.core:core-ktx:1.0.2"
const val kotlin_ktx = "androidx.core:core-ktx:1.2.0"

//arouter
const val arouter_api = "com.alibaba:arouter-api:1.4.1"
const val arouter_api = "com.alibaba:arouter-api:1.5.0"
const val arouter_compiler = "com.alibaba:arouter-compiler:1.2.2"

//butterknife
Expand Down
6 changes: 3 additions & 3 deletions fly/src/main/java/com/xia/fly/utils/ClipboardUtils.kt
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ object ClipboardUtils {
@JvmStatic
fun copyText(text: CharSequence) {
val cm = Utils.getApp().getSystemService(Context.CLIPBOARD_SERVICE) as ClipboardManager
cm.primaryClip = ClipData.newPlainText("text", text)
cm.setPrimaryClip(ClipData.newPlainText("text", text))
}

/**
Expand All @@ -51,7 +51,7 @@ object ClipboardUtils {
@JvmStatic
fun copyUri(uri: Uri) {
val cm = Utils.getApp().getSystemService(Context.CLIPBOARD_SERVICE) as ClipboardManager
cm.primaryClip = ClipData.newUri(Utils.getApp().contentResolver, "uri", uri)
cm.setPrimaryClip(ClipData.newUri(Utils.getApp().contentResolver, "uri", uri))
}

/**
Expand All @@ -76,7 +76,7 @@ object ClipboardUtils {
@JvmStatic
fun copyIntent(intent: Intent) {
val cm = Utils.getApp().getSystemService(Context.CLIPBOARD_SERVICE) as ClipboardManager
cm.primaryClip = ClipData.newIntent("intent", intent)
cm.setPrimaryClip(ClipData.newIntent("intent", intent))
}

/**
Expand Down

0 comments on commit 432a550

Please sign in to comment.