Commit 1226b709 authored by Mygod's avatar Mygod

Decouple main dependencies from plugin lib

parent 3b7d419f
......@@ -71,6 +71,9 @@ dependencies {
val workVersion = "2.4.0"
api(project(":plugin"))
api("androidx.core:core-ktx:1.4.0-alpha01")
api("com.google.android.material:material:1.2.0-rc01")
api("androidx.fragment:fragment-ktx:1.3.0-alpha07")
api("androidx.lifecycle:lifecycle-common-java8:$lifecycleVersion")
api("androidx.lifecycle:lifecycle-livedata-core-ktx:$lifecycleVersion")
......
......@@ -128,7 +128,6 @@ class PluginPreferenceDialogFragment : PreferenceDialogFragmentCompat() {
recycler.layoutParams = ViewGroup.LayoutParams(
ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.WRAP_CONTENT)
dialog.setContentView(recycler)
dialog.findViewById<View>(R.id.touch_outside)!!.isFocusable = false
return dialog
}
......
......@@ -23,7 +23,7 @@ mavenPublish.targets.getByName("uploadArchives") {
dependencies {
api(kotlin("stdlib-jdk8", rootProject.extra.get("kotlinVersion").toString()))
api("androidx.core:core-ktx:1.4.0-alpha01")
api("androidx.core:core-ktx:1.3.1")
// https://android-developers.googleblog.com/2019/07/android-q-beta-5-update.html
api("androidx.drawerlayout:drawerlayout:1.1.0")
api("com.google.android.material:material:1.1.0")
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment