equal
deleted
inserted
replaced
26 id("com.geekorum.build.maven-publish") |
26 id("com.geekorum.build.maven-publish") |
27 id("com.geekorum.build.dokka") |
27 id("com.geekorum.build.dokka") |
28 } |
28 } |
29 |
29 |
30 kotlin { |
30 kotlin { |
31 androidTarget() |
31 android { |
|
32 namespace = "com.geekorum.aboutoss.core" |
|
33 |
|
34 @Suppress("UnstableApiUsage") |
|
35 optimization { |
|
36 consumerKeepRules.apply { |
|
37 publish = true |
|
38 file("consumer-rules.pro") |
|
39 } |
|
40 } |
|
41 } |
32 |
42 |
33 jvm("desktop") |
43 jvm("desktop") |
34 |
44 |
35 listOf( |
45 listOf( |
36 iosX64(), |
46 iosX64(), |
47 commonMain.dependencies { |
57 commonMain.dependencies { |
48 api(libs.okio) |
58 api(libs.okio) |
49 api(libs.kotlinx.coroutines) |
59 api(libs.kotlinx.coroutines) |
50 implementation(libs.kotlinx.serialization.json) |
60 implementation(libs.kotlinx.serialization.json) |
51 } |
61 } |
52 } |
62 androidUnitTest.dependencies { |
53 } |
63 implementation(libs.androidx.test.ext.junit) |
54 |
64 implementation(libs.espresso.core) |
55 android { |
|
56 namespace = "com.geekorum.aboutoss.core" |
|
57 |
|
58 defaultConfig { |
|
59 testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" |
|
60 consumerProguardFiles("consumer-rules.pro") |
|
61 } |
|
62 |
|
63 buildTypes { |
|
64 release { |
|
65 isMinifyEnabled = false |
|
66 proguardFiles( |
|
67 getDefaultProguardFile("proguard-android-optimize.txt"), |
|
68 "proguard-rules.pro" |
|
69 ) |
|
70 } |
|
71 } |
|
72 |
|
73 publishing { |
|
74 singleVariant("release") { |
|
75 withJavadocJar() |
|
76 withSourcesJar() |
|
77 } |
65 } |
78 } |
66 } |
79 } |
67 } |
80 |
68 |
81 dependencies { |
|
82 |
|
83 testImplementation(libs.junit) |
|
84 androidTestImplementation(libs.androidx.test.ext.junit) |
|
85 androidTestImplementation(libs.espresso.core) |
|
86 } |
|
87 |
69 |
88 mavenPublishing { |
70 mavenPublishing { |
89 coordinates(groupId = group.toString(), name, version.toString()) |
71 coordinates(groupId = group.toString(), name, version.toString()) |
90 } |
72 } |
91 |
73 |