1+ plugins {
2+ id(" com.android.application" )
3+ id(" org.jetbrains.kotlin.android" )
4+ }
5+
6+ android {
7+ namespace = " com.openroot.droidchan"
8+ compileSdk = 34
9+
10+ defaultConfig {
11+ applicationId = " com.openroot.droidchan"
12+ minSdk = 24
13+ targetSdk = 34
14+ versionCode = 1
15+ versionName = " 1.0"
16+
17+ testInstrumentationRunner = " androidx.test.runner.AndroidJUnitRunner"
18+ vectorDrawables {
19+ useSupportLibrary = true
20+ }
21+ }
22+
23+ buildTypes {
24+ release {
25+ isMinifyEnabled = false
26+ proguardFiles(
27+ getDefaultProguardFile(" proguard-android-optimize.txt" ),
28+ " proguard-rules.pro"
29+ )
30+ }
31+ }
32+ compileOptions {
33+ sourceCompatibility = JavaVersion .VERSION_17
34+ targetCompatibility = JavaVersion .VERSION_17
35+ }
36+ kotlinOptions {
37+ jvmTarget = " 17"
38+ }
39+ buildFeatures {
40+ compose = true
41+ }
42+ composeOptions {
43+ kotlinCompilerExtensionVersion = " 1.5.3"
44+ }
45+ packaging {
46+ resources {
47+ excludes + = " /META-INF/{AL2.0,LGPL2.1}"
48+ }
49+ }
50+ }
51+
52+ dependencies {
53+ implementation(" androidx.core:core-ktx:1.12.0" )
54+ implementation(" androidx.lifecycle:lifecycle-runtime-ktx:2.6.2" )
55+ implementation(" androidx.activity:activity-compose:1.8.0" )
56+ implementation(platform(" androidx.compose:compose-bom:2023.09.00" ))
57+ implementation(" androidx.compose.ui:ui" )
58+ implementation(" androidx.compose.ui:ui-graphics" )
59+ implementation(" androidx.compose.ui:ui-tooling-preview" )
60+ implementation(" androidx.compose.material3:material3" )
61+ implementation(" com.squareup.retrofit2:retrofit:2.9.0" )
62+ implementation(" com.squareup.retrofit2:converter-gson:2.9.0" )
63+ implementation(" com.squareup.okhttp3:okhttp:4.11.0" )
64+ implementation(" org.jetbrains.kotlinx:kotlinx-coroutines-android:1.7.3" )
65+ implementation(" io.ktor:ktor-server-netty:2.3.4" )
66+ implementation(" io.ktor:ktor-server-html-builder:2.3.4" )
67+
68+ testImplementation(" junit:junit:4.13.2" )
69+ androidTestImplementation(" androidx.test.ext:junit:1.1.5" )
70+ androidTestImplementation(" androidx.test.espresso:espresso-core:3.5.1" )
71+ androidTestImplementation(platform(" androidx.compose:compose-bom:2023.09.00" ))
72+ androidTestImplementation(" androidx.compose.ui:ui-test-junit4" )
73+ debugImplementation(" androidx.compose.ui:ui-tooling" )
74+ debugImplementation(" androidx.compose.ui:ui-test-manifest" )
75+ }
0 commit comments