Browse Source

Examples. ImageViewer. 1.0.0-beta1

pull/1312/head
Igor Demin 3 years ago
parent
commit
6c27a86f1c
  1. 6
      examples/imageviewer/android/build.gradle.kts
  2. 1
      examples/imageviewer/android/src/main/AndroidManifest.xml
  3. 2
      examples/imageviewer/build.gradle.kts
  4. 4
      examples/imageviewer/common/build.gradle.kts

6
examples/imageviewer/android/build.gradle.kts

@ -5,11 +5,11 @@ plugins {
} }
android { android {
compileSdk = 30 compileSdk = 31
defaultConfig { defaultConfig {
minSdk = 21 minSdk = 21
targetSdk = 30 targetSdk = 31
versionCode = 1 versionCode = 1
versionName = "1.0" versionName = "1.0"
} }
@ -22,5 +22,5 @@ android {
dependencies { dependencies {
implementation(project(":common")) implementation(project(":common"))
implementation("androidx.activity:activity-compose:1.3.0") implementation("androidx.activity:activity-compose:1.3.1")
} }

1
examples/imageviewer/android/src/main/AndroidManifest.xml

@ -15,6 +15,7 @@
android:supportsRtl="true" android:supportsRtl="true"
android:theme="@style/Theme.AppCompat.Light.NoActionBar"> android:theme="@style/Theme.AppCompat.Light.NoActionBar">
<activity <activity
android:exported="true"
android:name="example.imageviewer.MainActivity" android:name="example.imageviewer.MainActivity"
android:label="@string/app_name"> android:label="@string/app_name">
<intent-filter> <intent-filter>

2
examples/imageviewer/build.gradle.kts

@ -7,7 +7,7 @@ buildscript {
dependencies { dependencies {
// __LATEST_COMPOSE_RELEASE_VERSION__ // __LATEST_COMPOSE_RELEASE_VERSION__
classpath("org.jetbrains.compose:compose-gradle-plugin:0.0.0-master-build413") classpath("org.jetbrains.compose:compose-gradle-plugin:1.0.0-beta1")
classpath("com.android.tools.build:gradle:4.1.0") classpath("com.android.tools.build:gradle:4.1.0")
classpath(kotlin("gradle-plugin", version = "1.5.31")) classpath(kotlin("gradle-plugin", version = "1.5.31"))
} }

4
examples/imageviewer/common/build.gradle.kts

@ -35,11 +35,11 @@ kotlin {
} }
android { android {
compileSdk = 30 compileSdk = 31
defaultConfig { defaultConfig {
minSdk = 21 minSdk = 21
targetSdk = 30 targetSdk = 31
} }
compileOptions { compileOptions {

Loading…
Cancel
Save