equal
deleted
inserted
replaced
20 * along with AboutOss. If not, see <http://www.gnu.org/licenses/>. |
20 * along with AboutOss. If not, see <http://www.gnu.org/licenses/>. |
21 */ |
21 */ |
22 import org.jetbrains.kotlin.gradle.dsl.JvmTarget |
22 import org.jetbrains.kotlin.gradle.dsl.JvmTarget |
23 |
23 |
24 plugins { |
24 plugins { |
25 id("com.android.library") |
25 id("com.geekorum.build.conventions.mpp-library-with-android") |
26 kotlin("multiplatform") |
|
27 alias(libs.plugins.kotlin.compose) |
26 alias(libs.plugins.kotlin.compose) |
28 alias(libs.plugins.jetbrains.compose.multiplatform) |
27 alias(libs.plugins.jetbrains.compose.multiplatform) |
29 alias(libs.plugins.kotlinx.serialization) |
28 alias(libs.plugins.kotlinx.serialization) |
30 id("com.geekorum.build.source-license-checker") |
|
31 id("com.geekorum.build.maven-publish") |
29 id("com.geekorum.build.maven-publish") |
32 id("com.geekorum.build.dokka") |
30 id("com.geekorum.build.dokka") |
33 } |
31 } |
34 |
32 |
35 group = "com.geekorum.aboutoss" |
|
36 version = "0.1.0" |
|
37 |
|
38 kotlin { |
33 kotlin { |
39 androidTarget { |
34 androidTarget() |
40 compilerOptions { |
|
41 jvmTarget.set(JvmTarget.JVM_17) |
|
42 } |
|
43 } |
|
44 |
35 |
45 jvm("desktop") |
36 jvm("desktop") |
46 |
37 |
47 listOf( |
38 listOf( |
48 iosX64(), |
39 iosX64(), |
75 } |
66 } |
76 |
67 |
77 |
68 |
78 android { |
69 android { |
79 namespace = "com.geekorum.aboutoss.ui.material" |
70 namespace = "com.geekorum.aboutoss.ui.material" |
80 compileSdk = 35 |
|
81 |
71 |
82 defaultConfig { |
72 defaultConfig { |
83 minSdk = 24 |
|
84 |
|
85 testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" |
73 testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" |
86 consumerProguardFiles("consumer-rules.pro") |
74 consumerProguardFiles("consumer-rules.pro") |
87 |
|
88 aarMetadata { |
|
89 minCompileSdk = 24 |
|
90 } |
|
91 } |
75 } |
92 |
76 |
93 buildTypes { |
77 buildTypes { |
94 release { |
78 release { |
95 isMinifyEnabled = false |
79 isMinifyEnabled = false |
96 proguardFiles( |
80 proguardFiles( |
97 getDefaultProguardFile("proguard-android-optimize.txt"), |
81 getDefaultProguardFile("proguard-android-optimize.txt"), |
98 "proguard-rules.pro" |
82 "proguard-rules.pro" |
99 ) |
83 ) |
100 } |
84 } |
101 } |
|
102 compileOptions { |
|
103 sourceCompatibility = JavaVersion.VERSION_17 |
|
104 targetCompatibility = JavaVersion.VERSION_17 |
|
105 } |
85 } |
106 |
86 |
107 buildFeatures { |
87 buildFeatures { |
108 compose = true |
88 compose = true |
109 } |
89 } |