summaryrefslogtreecommitdiff
path: root/android-app/app/build.gradle
diff options
context:
space:
mode:
Diffstat (limited to 'android-app/app/build.gradle')
-rw-r--r--android-app/app/build.gradle58
1 files changed, 58 insertions, 0 deletions
diff --git a/android-app/app/build.gradle b/android-app/app/build.gradle
new file mode 100644
index 0000000..968b305
--- /dev/null
+++ b/android-app/app/build.gradle
@@ -0,0 +1,58 @@
+plugins {
+ id 'com.android.application'
+ id 'org.jetbrains.kotlin.android'
+}
+
+android {
+ namespace 'com.example.androidapp'
+ compileSdk 34
+
+ defaultConfig {
+ applicationId "com.example.androidapp"
+ minSdk 24
+ targetSdk 34
+ versionCode 1
+ versionName "1.0"
+
+ testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
+ }
+
+ buildTypes {
+ release {
+ minifyEnabled false
+ proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
+ }
+ }
+
+ compileOptions {
+ sourceCompatibility JavaVersion.VERSION_1_8
+ targetCompatibility JavaVersion.VERSION_1_8
+ }
+
+ kotlinOptions {
+ jvmTarget = '1.8'
+ }
+
+ sourceSets {
+ main {
+ kotlin.srcDirs = ['src/main/kotlin', 'src/main/java']
+ }
+ test {
+ kotlin.srcDirs = ['src/test/kotlin', 'src/test/java']
+ }
+ androidTest {
+ kotlin.srcDirs = ['src/androidTest/kotlin', 'src/androidTest/java']
+ }
+ }
+}
+
+dependencies {
+ implementation 'androidx.core:core-ktx:1.12.0'
+ implementation 'androidx.appcompat:appcompat:1.6.1'
+ implementation 'com.google.android.material:material:1.11.0'
+ implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
+
+ testImplementation 'junit:junit:4.13.2'
+ androidTestImplementation 'androidx.test.ext:junit:1.1.5'
+ androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
+}