blob: 672f6e48675f8d503f5cf577c68dab65fda1e8d3 [file]
import androidx.build.ApkCopyHelperKt
/**
* This file was created using the `createProject` gradle task (./gradlew createProject)
*
* Please use the task when creating a new project, rather than copying an existing project and
* modifying its settings.
*/
plugins {
id("AndroidXPlugin")
id("AndroidXComposePlugin")
id("com.android.application")
}
dependencies {
implementation(project(":compose:animation:animation:integration-tests:animation-demos"))
implementation(project(":compose:foundation:foundation-layout:integration-tests:foundation-layout-demos"))
implementation(project(":compose:foundation:foundation:integration-tests:foundation-demos"))
implementation(project(":compose:material:material:integration-tests:material-demos"))
implementation(project(":compose:material3:material3:integration-tests:material3-demos"))
implementation(project(":navigation:navigation-compose:integration-tests:navigation-demos"))
implementation(project(":navigation3:navigation3-ui:integration-tests:navigation3-demos"))
implementation(project(":paging:paging-compose:integration-tests:paging-demos"))
implementation(project(":compose:ui:ui:integration-tests:ui-demos"))
implementation(libs.kotlinReflect)
implementation(project(":activity:activity"))
implementation(project(":activity:activity-compose"))
implementation("androidx.core:core-ktx:1.15.0")
implementation(project(":compose:foundation:foundation"))
implementation(project(":compose:foundation:foundation-layout"))
implementation(project(":compose:integration-tests:demos:common"))
implementation(project(":compose:material:material"))
implementation("androidx.compose.material:material-icons-extended:1.7.8")
implementation(project(":compose:material3:material3"))
implementation(project(":compose:runtime:runtime"))
implementation(project(":compose:ui:ui"))
implementation("androidx.preference:preference-ktx:1.1.1")
}
// Publish an APK so demo app is available in ab/ for devs, PMs, QA to use.
// Can also be used to bisect escaped defects in functionality.
ApkCopyHelperKt.setupAppApkCopy(project, "release")
android {
compileSdk { version = release(36) }
namespace = "androidx.compose.integration.demos"
buildTypes {
release {
minifyEnabled true
shrinkResources true
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
}