d2-build-helper

Форк
0
/
build.gradle.kts 
66 строк · 2.0 Кб
1
plugins {
2
    id("com.android.application")
3
    id("org.jetbrains.kotlin.android")
4
}
5

6
android {
7
    namespace = "com.nonoxy.d2buildhelper"
8
    compileSdk = 34
9

10
    defaultConfig {
11
        applicationId = "com.nonoxy.d2buildhelper"
12
        minSdk = 27
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(getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro")
27
        }
28
    }
29
    compileOptions {
30
        sourceCompatibility = JavaVersion.VERSION_1_8
31
        targetCompatibility = JavaVersion.VERSION_1_8
32
    }
33
    kotlinOptions {
34
        jvmTarget = "1.8"
35
    }
36
    buildFeatures {
37
        compose = true
38
    }
39
    composeOptions {
40
        kotlinCompilerExtensionVersion = "1.5.1"
41
    }
42
    packaging {
43
        resources {
44
            excludes += "/META-INF/{AL2.0,LGPL2.1}"
45
        }
46
    }
47
}
48

49
dependencies {
50

51
    implementation("androidx.core:core-ktx:1.10.1")
52
    implementation("androidx.lifecycle:lifecycle-runtime-ktx:2.6.1")
53
    implementation("androidx.activity:activity-compose:1.7.0")
54
    implementation(platform("androidx.compose:compose-bom:2023.08.00"))
55
    implementation("androidx.compose.ui:ui")
56
    implementation("androidx.compose.ui:ui-graphics")
57
    implementation("androidx.compose.ui:ui-tooling-preview")
58
    implementation("androidx.compose.material3:material3")
59
    testImplementation("junit:junit:4.13.2")
60
    androidTestImplementation("androidx.test.ext:junit:1.1.5")
61
    androidTestImplementation("androidx.test.espresso:espresso-core:3.5.1")
62
    androidTestImplementation(platform("androidx.compose:compose-bom:2023.08.00"))
63
    androidTestImplementation("androidx.compose.ui:ui-test-junit4")
64
    debugImplementation("androidx.compose.ui:ui-tooling")
65
    debugImplementation("androidx.compose.ui:ui-test-manifest")
66
}

Использование cookies

Мы используем файлы cookie в соответствии с Политикой конфиденциальности и Политикой использования cookies.

Нажимая кнопку «Принимаю», Вы даете АО «СберТех» согласие на обработку Ваших персональных данных в целях совершенствования нашего веб-сайта и Сервиса GitVerse, а также повышения удобства их использования.

Запретить использование cookies Вы можете самостоятельно в настройках Вашего браузера.