mirror of
https://github.com/skyline-emu/skyline.git
synced 2024-12-28 06:25:29 +03:00
Add mime type to key picker
This commit is contained in:
parent
8f3390f073
commit
4b7cb176f6
@ -70,15 +70,10 @@ android {
|
|||||||
|
|
||||||
kotlinOptions {
|
kotlinOptions {
|
||||||
jvmTarget = javaVersion.toString()
|
jvmTarget = javaVersion.toString()
|
||||||
useIR = true
|
|
||||||
}
|
}
|
||||||
buildFeatures {
|
buildFeatures {
|
||||||
viewBinding true
|
viewBinding true
|
||||||
prefab true
|
prefab true
|
||||||
compose true
|
|
||||||
}
|
|
||||||
composeOptions {
|
|
||||||
kotlinCompilerExtensionVersion compose_version
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -87,8 +82,6 @@ dependencies {
|
|||||||
implementation fileTree(dir: 'libs', include: ['*.jar', '*.aar'])
|
implementation fileTree(dir: 'libs', include: ['*.jar', '*.aar'])
|
||||||
|
|
||||||
/* Google */
|
/* Google */
|
||||||
def lifecycle_version = "2.2.0"
|
|
||||||
|
|
||||||
implementation "androidx.core:core-ktx:1.3.2"
|
implementation "androidx.core:core-ktx:1.3.2"
|
||||||
implementation 'androidx.appcompat:appcompat:1.2.0'
|
implementation 'androidx.appcompat:appcompat:1.2.0'
|
||||||
implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
|
implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
|
||||||
@ -101,10 +94,6 @@ dependencies {
|
|||||||
implementation 'androidx.fragment:fragment-ktx:1.3.0'
|
implementation 'androidx.fragment:fragment-ktx:1.3.0'
|
||||||
implementation "com.google.dagger:hilt-android:$hilt_version"
|
implementation "com.google.dagger:hilt-android:$hilt_version"
|
||||||
kapt "com.google.dagger:hilt-android-compiler:$hilt_version"
|
kapt "com.google.dagger:hilt-android-compiler:$hilt_version"
|
||||||
implementation "androidx.compose.ui:ui:$compose_version"
|
|
||||||
implementation "androidx.compose.material:material:$compose_version"
|
|
||||||
implementation "androidx.compose.ui:ui-tooling:$compose_version"
|
|
||||||
implementation 'androidx.activity:activity-compose:1.3.0-alpha03'
|
|
||||||
implementation 'com.google.android:flexbox:2.0.1'
|
implementation 'com.google.android:flexbox:2.0.1'
|
||||||
|
|
||||||
/* Kotlin */
|
/* Kotlin */
|
||||||
|
@ -29,5 +29,5 @@ class KeyPickerPreference @JvmOverloads constructor(context : Context, attrs : A
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun onClick() = documentPicker.launch(null)
|
override fun onClick() = documentPicker.launch(arrayOf("*/*"))
|
||||||
}
|
}
|
||||||
|
11
build.gradle
11
build.gradle
@ -2,18 +2,19 @@
|
|||||||
|
|
||||||
buildscript {
|
buildscript {
|
||||||
ext {
|
ext {
|
||||||
kotlin_version = '1.4.31'
|
kotlin_version = '1.4.30'
|
||||||
lifecycle_version = '2.3.0'
|
lifecycle_version = '2.3.1'
|
||||||
hilt_version = '2.32-alpha'
|
hilt_version = '2.33-beta'
|
||||||
compose_version = '1.0.0-beta01'
|
lifecycle_version = '2.3.1'
|
||||||
}
|
}
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
google()
|
google()
|
||||||
|
jcenter()
|
||||||
mavenCentral()
|
mavenCentral()
|
||||||
}
|
}
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath 'com.android.tools.build:gradle:7.0.0-alpha08'
|
classpath 'com.android.tools.build:gradle:4.1.2'
|
||||||
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
||||||
classpath "com.google.dagger:hilt-android-gradle-plugin:$hilt_version"
|
classpath "com.google.dagger:hilt-android-gradle-plugin:$hilt_version"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user