Create sample app for checking stuff quickly

This commit is contained in:
ganfra 2023-02-14 20:57:11 +01:00
parent 9526eac81c
commit d4146891d9
31 changed files with 700 additions and 23 deletions

View file

@ -38,9 +38,9 @@ android {
defaultConfig {
applicationId = "io.element.android.x"
targetSdk = 33 // TODO Use Versions.targetSdk
versionCode = 1
versionName = "1.0"
targetSdk = Versions.targetSdk
versionCode = Versions.versionCode
versionName = Versions.versionName
vectorDrawables {
useSupportLibrary = true
@ -109,25 +109,9 @@ android {
}
}
}
compileOptions {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
kotlinOptions {
jvmTarget = "1.8"
}
buildFeatures {
compose = true
}
composeOptions {
kotlinCompilerExtensionVersion = "1.4.0"
}
packagingOptions {
resources {
excludes += "/META-INF/{AL2.0,LGPL2.1}"
}
}
// Waiting for https://github.com/google/ksp/issues/37
applicationVariants.all {
kotlin.sourceSets {

View file

@ -34,8 +34,7 @@
android:theme="@style/Theme.ElementX.Splash"
android:configChanges="orientation|screenSize|screenLayout|keyboardHidden|uiMode"
android:exported="true"
android:windowSoftInputMode="adjustResize"
tools:ignore="LockedOrientationActivity">
android:windowSoftInputMode="adjustResize">
<intent-filter>
<action android:name="android.intent.action.MAIN" />