| 1 |
plugins { |
| 2 |
alias(libs.plugins.android.application) |
| 3 |
alias(libs.plugins.kotlin.compose) |
| 4 |
} |
| 5 |
|
| 6 |
android { |
| 7 |
namespace = "com.example.oxygenhub" |
| 8 |
compileSdk { |
| 9 |
version = release(37) |
| 10 |
} |
| 11 |
|
| 12 |
defaultConfig { |
| 13 |
applicationId = "com.example.oxygenhub" |
| 14 |
minSdk = 24 |
| 15 |
targetSdk = 37 |
| 16 |
versionCode = 1 |
| 17 |
versionName = "1.0" |
| 18 |
|
| 19 |
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" |
| 20 |
} |
| 21 |
|
| 22 |
buildTypes { |
| 23 |
release { |
| 24 |
optimization { |
| 25 |
enable = false |
| 26 |
} |
| 27 |
} |
| 28 |
} |
| 29 |
compileOptions { |
| 30 |
sourceCompatibility = JavaVersion.VERSION_11 |
| 31 |
targetCompatibility = JavaVersion.VERSION_11 |
| 32 |
} |
| 33 |
buildFeatures { |
| 34 |
compose = true |
| 35 |
} |
| 36 |
} |
| 37 |
|
| 38 |
dependencies { |
| 39 |
implementation("net.java.dev.jna:jna:5.14.0@aar") |
| 40 |
implementation(platform(libs.androidx.compose.bom)) |
| 41 |
implementation(libs.androidx.activity.compose) |
| 42 |
implementation(libs.androidx.compose.material3) |
| 43 |
implementation(libs.androidx.compose.ui) |
| 44 |
implementation(libs.androidx.compose.ui.graphics) |
| 45 |
implementation(libs.androidx.compose.ui.tooling.preview) |
| 46 |
implementation(libs.androidx.core.ktx) |
| 47 |
implementation(libs.androidx.lifecycle.runtime.ktx) |
| 48 |
testImplementation(libs.junit) |
| 49 |
androidTestImplementation(platform(libs.androidx.compose.bom)) |
| 50 |
androidTestImplementation(libs.androidx.compose.ui.test.junit4) |
| 51 |
androidTestImplementation(libs.androidx.espresso.core) |
| 52 |
androidTestImplementation(libs.androidx.junit) |
| 53 |
debugImplementation(libs.androidx.compose.ui.test.manifest) |
| 54 |
debugImplementation(libs.androidx.compose.ui.tooling) |
| 55 |
} |