mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-27 15:26:58 +00:00
Kotlin 2.0.0-RC2 (#4343)
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -10,6 +10,7 @@ WallpaperPicker/.project.properties
|
|||||||
bin
|
bin
|
||||||
.idea
|
.idea
|
||||||
.gradle
|
.gradle
|
||||||
|
.kotlin
|
||||||
local.properties
|
local.properties
|
||||||
build
|
build
|
||||||
.DS_Store
|
.DS_Store
|
||||||
|
|||||||
13
build.gradle
13
build.gradle
@@ -7,10 +7,11 @@ plugins {
|
|||||||
id 'com.android.library' version "8.3.2" apply false
|
id 'com.android.library' version "8.3.2" apply false
|
||||||
id 'com.android.test' version '8.3.2' apply false
|
id 'com.android.test' version '8.3.2' apply false
|
||||||
id 'androidx.baselineprofile' version '1.2.4'
|
id 'androidx.baselineprofile' version '1.2.4'
|
||||||
id 'org.jetbrains.kotlin.android' version "1.9.23"
|
id 'org.jetbrains.kotlin.android' version "2.0.0-RC2"
|
||||||
id 'org.jetbrains.kotlin.plugin.parcelize' version "1.9.23"
|
id 'org.jetbrains.kotlin.plugin.compose' version "2.0.0-RC2"
|
||||||
id 'org.jetbrains.kotlin.plugin.serialization' version "1.9.23"
|
id 'org.jetbrains.kotlin.plugin.parcelize' version "2.0.0-RC2"
|
||||||
id "com.google.devtools.ksp" version "1.9.23-1.0.20"
|
id 'org.jetbrains.kotlin.plugin.serialization' version "2.0.0-RC2"
|
||||||
|
id "com.google.devtools.ksp" version "2.0.0-RC1-1.0.20"
|
||||||
id 'com.google.protobuf' version "0.9.4"
|
id 'com.google.protobuf' version "0.9.4"
|
||||||
id 'app.cash.licensee' version "1.11.0"
|
id 'app.cash.licensee' version "1.11.0"
|
||||||
id 'dev.rikka.tools.refine' version "4.4.0"
|
id 'dev.rikka.tools.refine' version "4.4.0"
|
||||||
@@ -165,10 +166,6 @@ android {
|
|||||||
resValues true
|
resValues true
|
||||||
}
|
}
|
||||||
|
|
||||||
composeOptions {
|
|
||||||
kotlinCompilerExtensionVersion = "1.5.12"
|
|
||||||
}
|
|
||||||
|
|
||||||
final def keystorePropertiesFile = rootProject.file("keystore.properties")
|
final def keystorePropertiesFile = rootProject.file("keystore.properties")
|
||||||
def releaseSigning = signingConfigs.debug
|
def releaseSigning = signingConfigs.debug
|
||||||
if (keystorePropertiesFile.exists()) {
|
if (keystorePropertiesFile.exists()) {
|
||||||
|
|||||||
@@ -35,7 +35,8 @@ class LawnchairShortcut {
|
|||||||
|
|
||||||
companion object {
|
companion object {
|
||||||
|
|
||||||
val CUSTOMIZE: SystemShortcut.Factory<LawnchairLauncher?> = SystemShortcut.Factory<LawnchairLauncher?> { activity, itemInfo, originalView ->
|
val CUSTOMIZE =
|
||||||
|
SystemShortcut.Factory { activity: LawnchairLauncher, itemInfo, originalView ->
|
||||||
if (PreferenceManager2.getInstance(activity).lockHomeScreen.firstBlocking()) {
|
if (PreferenceManager2.getInstance(activity).lockHomeScreen.firstBlocking()) {
|
||||||
null
|
null
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user