|
| 1 | + |
1 | 2 | plugins {
|
| 3 | + alias(libs.plugins.kotlin.android) |
2 | 4 | alias(libs.plugins.android.application)
|
3 |
| - alias(libs.plugins.jetbrains.kotlin.android) |
4 |
| - alias(libs.plugins.ktlint) |
5 |
| - alias(libs.plugins.detekt) |
6 |
| - alias(libs.plugins.spotless) |
7 |
| -} |
8 |
| - |
9 |
| -val ktlintVersion = "0.50.0" |
10 |
| - |
11 |
| -android { |
12 |
| - namespace = "com.nexters.misik" |
13 |
| - compileSdk = 35 |
14 |
| - |
15 |
| - defaultConfig { |
16 |
| - applicationId = "com.nexters.misik" |
17 |
| - minSdk = 24 |
18 |
| - targetSdk = 35 |
19 |
| - versionCode = 1 |
20 |
| - versionName = "1.0" |
21 |
| - |
22 |
| - testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" |
23 |
| - vectorDrawables { |
24 |
| - useSupportLibrary = true |
25 |
| - } |
26 |
| - } |
27 |
| - |
28 |
| - buildTypes { |
29 |
| - release { |
30 |
| - isMinifyEnabled = false |
31 |
| - proguardFiles( |
32 |
| - getDefaultProguardFile("proguard-android-optimize.txt"), |
33 |
| - "proguard-rules.pro", |
34 |
| - ) |
35 |
| - } |
36 |
| - } |
37 |
| - compileOptions { |
38 |
| - sourceCompatibility = JavaVersion.VERSION_17 |
39 |
| - targetCompatibility = JavaVersion.VERSION_17 |
40 |
| - } |
41 |
| - kotlinOptions { |
42 |
| - jvmTarget = "17" |
43 |
| - } |
44 |
| - buildFeatures { |
45 |
| - compose = true |
46 |
| - } |
47 |
| - composeOptions { |
48 |
| - kotlinCompilerExtensionVersion = "1.5.1" |
49 |
| - } |
50 |
| - packaging { |
51 |
| - resources { |
52 |
| - excludes += "/META-INF/{AL2.0,LGPL2.1}" |
53 |
| - } |
54 |
| - } |
55 |
| -} |
56 |
| - |
57 |
| -dependencies { |
58 |
| - |
59 |
| - implementation(libs.androidx.core.ktx) |
60 |
| - implementation(libs.androidx.lifecycle.runtime.ktx) |
61 |
| - implementation(libs.androidx.activity.compose) |
62 |
| - implementation(platform(libs.androidx.compose.bom)) |
63 |
| - implementation(libs.androidx.ui) |
64 |
| - implementation(libs.androidx.ui.graphics) |
65 |
| - implementation(libs.androidx.ui.tooling.preview) |
66 |
| - implementation(libs.androidx.material3) |
67 |
| - testImplementation(libs.junit) |
68 |
| - androidTestImplementation(libs.androidx.junit) |
69 |
| - androidTestImplementation(libs.androidx.espresso.core) |
70 |
| - androidTestImplementation(platform(libs.androidx.compose.bom)) |
71 |
| - androidTestImplementation(libs.androidx.ui.test.junit4) |
72 |
| - debugImplementation(libs.androidx.ui.tooling) |
73 |
| - debugImplementation(libs.androidx.ui.test.manifest) |
74 |
| -} |
75 |
| - |
76 |
| -detekt { |
77 |
| - config.from("${projectDir}/config/detekt/detekt-config.yml") |
78 |
| - buildUponDefaultConfig = true |
79 |
| - debug = true |
80 |
| -} |
| 5 | + alias(libs.plugins.misik.application) |
| 6 | + alias(libs.plugins.misik.android.hilt) |
81 | 7 |
|
82 |
| -spotless { |
83 |
| - kotlin { |
84 |
| - target("**/*.kt") |
85 |
| - targetExclude("**/build/**/*.kt") |
86 |
| - ktlint(ktlintVersion) |
87 |
| - } |
88 | 8 | }
|
0 commit comments