62 androidMain.dependencies { |
74 androidMain.dependencies { |
63 api(libs.androidx.activity) |
75 api(libs.androidx.activity) |
64 implementation(dependencies.platform(libs.androidx.compose.bom)) |
76 implementation(dependencies.platform(libs.androidx.compose.bom)) |
65 implementation(libs.androidx.activity.compose) |
77 implementation(libs.androidx.activity.compose) |
66 } |
78 } |
|
79 |
|
80 androidUnitTest.dependencies { |
|
81 implementation(libs.androidx.test.ext.junit) |
|
82 implementation(libs.espresso.core) |
|
83 } |
67 } |
84 } |
68 } |
85 } |
69 |
86 |
70 |
87 |
71 android { |
|
72 namespace = "com.geekorum.aboutoss.ui.material3" |
|
73 |
|
74 defaultConfig { |
|
75 testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" |
|
76 consumerProguardFiles("consumer-rules.pro") |
|
77 } |
|
78 |
|
79 buildTypes { |
|
80 release { |
|
81 isMinifyEnabled = false |
|
82 proguardFiles( |
|
83 getDefaultProguardFile("proguard-android-optimize.txt"), |
|
84 "proguard-rules.pro" |
|
85 ) |
|
86 } |
|
87 } |
|
88 |
|
89 buildFeatures { |
|
90 compose = true |
|
91 } |
|
92 |
|
93 publishing { |
|
94 singleVariant("release") { |
|
95 withJavadocJar() |
|
96 withSourcesJar() |
|
97 } |
|
98 } |
|
99 } |
|
100 |
|
101 dependencies { |
88 dependencies { |
102 testImplementation(libs.junit) |
89 androidRuntimeClasspath(libs.jetbrains.compose.uiTooling) |
103 androidTestImplementation(libs.androidx.test.ext.junit) |
|
104 androidTestImplementation(libs.espresso.core) |
|
105 afterEvaluate { |
|
106 "androidDebugImplementation"(libs.androidx.compose.uiTooling) |
|
107 } |
|
108 } |
90 } |
109 |
91 |
110 mavenPublishing { |
92 mavenPublishing { |
111 val artifactId = "ui-material3" |
93 val artifactId = "ui-material3" |
112 coordinates(groupId = group.toString(), artifactId, version.toString()) |
94 coordinates(groupId = group.toString(), artifactId, version.toString()) |