Various cleanups
This commit is contained in:
parent
37437dc3bd
commit
ce6309a22b
6 changed files with 9 additions and 39 deletions
|
@ -1,6 +1,6 @@
|
|||
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
|
||||
import java.io.FileInputStream
|
||||
import java.util.Properties
|
||||
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
|
||||
|
||||
|
||||
|
||||
|
@ -51,13 +51,9 @@ android {
|
|||
kotlinOptions {
|
||||
jvmTarget = "11"
|
||||
}
|
||||
buildToolsVersion = "34.0.0"
|
||||
buildFeatures {
|
||||
compose = true
|
||||
}
|
||||
composeOptions {
|
||||
kotlinCompilerExtensionVersion = "1.5.14"
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
|
|
|
@ -1,13 +1,10 @@
|
|||
package com.kernelmaft.zanbur
|
||||
|
||||
import MQTTClient
|
||||
import kotlinx.coroutines.CoroutineScope
|
||||
import kotlinx.coroutines.Dispatchers.IO
|
||||
import kotlinx.coroutines.launch
|
||||
import kotlinx.serialization.SerialName
|
||||
import kotlinx.serialization.Serializable
|
||||
import kotlinx.serialization.encodeToString
|
||||
import kotlinx.serialization.json.Json
|
||||
import MQTTClient
|
||||
import mqtt.MQTTVersion
|
||||
import mqtt.Subscription
|
||||
import mqtt.packets.Qos.AT_MOST_ONCE
|
||||
|
|
|
@ -1,2 +0,0 @@
|
|||
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
||||
plugins {}
|
|
@ -1,25 +1,5 @@
|
|||
# Project-wide Gradle settings.
|
||||
# IDE (e.g. Android Studio) users:
|
||||
# Gradle settings configured through the IDE *will override*
|
||||
# any settings specified in this file.
|
||||
# For more details on how to configure your build environment visit
|
||||
# http://www.gradle.org/docs/current/userguide/build_environment.html
|
||||
# Specifies the JVM arguments used for the daemon process.
|
||||
# The setting is particularly useful for tweaking memory settings.
|
||||
org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8 -XX:+UseParallelGC
|
||||
# When configured, Gradle will run in incubating parallel mode.
|
||||
# This option should only be used with decoupled projects. For more details, visit
|
||||
# https://developer.android.com/r/tools/gradle-multi-project-decoupled-projects
|
||||
org.gradle.parallel=true
|
||||
# AndroidX package structure to make it clearer which packages are bundled with the
|
||||
# Android operating system, and which are packaged with your app's APK
|
||||
# https://developer.android.com/topic/libraries/support-library/androidx-rn
|
||||
android.useAndroidX=true
|
||||
# Kotlin code style for this project: "official" or "obsolete":
|
||||
kotlin.code.style=official
|
||||
# Enables namespacing of each library's R class so that its R class includes only the
|
||||
# resources declared in the library itself and none from the library's dependencies,
|
||||
# thereby reducing the size of the R class for that library
|
||||
android.nonTransitiveRClass = true
|
||||
|
||||
android.useAndroidX = true
|
||||
org.gradle.configuration-cache = true
|
||||
org.gradle.jvmargs = -Xmx2048m -Dfile.encoding=UTF-8 -XX:+UseParallelGC
|
||||
org.gradle.parallel = true
|
||||
|
|
|
@ -12,7 +12,6 @@ pluginManagement {
|
|||
}
|
||||
}
|
||||
dependencyResolutionManagement {
|
||||
repositoriesMode . set ( RepositoriesMode . FAIL_ON_PROJECT_REPOS )
|
||||
repositories {
|
||||
google ()
|
||||
mavenCentral ()
|
||||
|
|
Loading…
Add table
Reference in a new issue