Create sample app for checking stuff quickly
This commit is contained in:
@@ -18,7 +18,7 @@ import org.gradle.api.JavaVersion
|
||||
import org.gradle.jvm.toolchain.JavaLanguageVersion
|
||||
|
||||
object Versions {
|
||||
const val versionCode = 100100
|
||||
const val versionCode = 1
|
||||
const val versionName = "0.1.0"
|
||||
|
||||
const val compileSdk = 33
|
||||
|
||||
@@ -18,6 +18,7 @@ package extension
|
||||
|
||||
import Versions
|
||||
import com.android.build.api.dsl.CommonExtension
|
||||
import org.gradle.api.JavaVersion
|
||||
import org.gradle.api.Project
|
||||
import java.io.File
|
||||
|
||||
@@ -30,6 +31,8 @@ fun CommonExtension<*, *, *, *>.androidConfig(project: Project) {
|
||||
|
||||
compileOptions {
|
||||
isCoreLibraryDesugaringEnabled = true
|
||||
sourceCompatibility = JavaVersion.VERSION_1_8
|
||||
targetCompatibility = JavaVersion.VERSION_1_8
|
||||
}
|
||||
|
||||
testOptions {
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
*/
|
||||
|
||||
/**
|
||||
* This will generate the plugin "io.element.android-compose-application", used only in the module `app`.
|
||||
* This will generate the plugin "io.element.android-compose-application" to use by app and samples modules
|
||||
*/
|
||||
import extension.androidConfig
|
||||
import extension.commonDependencies
|
||||
|
||||
Reference in New Issue
Block a user