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