equal
deleted
inserted
replaced
17 * GNU General Public License for more details. |
17 * GNU General Public License for more details. |
18 * |
18 * |
19 * You should have received a copy of the GNU General Public License |
19 * You should have received a copy of the GNU General Public License |
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 |
|
23 |
22 |
24 plugins { |
23 plugins { |
25 id("com.android.library") |
24 id("com.geekorum.build.conventions.mpp-library-with-android") |
26 kotlin("multiplatform") |
|
27 alias(libs.plugins.kotlin.compose) |
25 alias(libs.plugins.kotlin.compose) |
28 alias(libs.plugins.jetbrains.compose.multiplatform) |
26 alias(libs.plugins.jetbrains.compose.multiplatform) |
29 alias(libs.plugins.kotlinx.serialization) |
27 alias(libs.plugins.kotlinx.serialization) |
30 id("com.geekorum.build.source-license-checker") |
|
31 id("com.geekorum.build.maven-publish") |
28 id("com.geekorum.build.maven-publish") |
32 id("com.geekorum.build.dokka") |
29 id("com.geekorum.build.dokka") |
33 } |
30 } |
34 |
31 |
35 group = "com.geekorum.aboutoss" |
|
36 version = "0.1.0" |
|
37 |
|
38 kotlin { |
32 kotlin { |
39 androidTarget { |
33 androidTarget() |
40 compilerOptions { |
|
41 jvmTarget.set(JvmTarget.JVM_17) |
|
42 } |
|
43 } |
|
44 |
34 |
45 jvm("desktop") |
35 jvm("desktop") |
46 |
36 |
47 listOf( |
37 listOf( |
48 iosX64(), |
38 iosX64(), |
78 } |
68 } |
79 |
69 |
80 |
70 |
81 android { |
71 android { |
82 namespace = "com.geekorum.aboutoss.ui.material3" |
72 namespace = "com.geekorum.aboutoss.ui.material3" |
83 compileSdk = 35 |
|
84 |
73 |
85 defaultConfig { |
74 defaultConfig { |
86 minSdk = 24 |
|
87 |
|
88 testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" |
75 testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" |
89 consumerProguardFiles("consumer-rules.pro") |
76 consumerProguardFiles("consumer-rules.pro") |
90 |
|
91 aarMetadata { |
|
92 minCompileSdk = 24 |
|
93 } |
|
94 } |
77 } |
95 |
78 |
96 buildTypes { |
79 buildTypes { |
97 release { |
80 release { |
98 isMinifyEnabled = false |
81 isMinifyEnabled = false |
99 proguardFiles( |
82 proguardFiles( |
100 getDefaultProguardFile("proguard-android-optimize.txt"), |
83 getDefaultProguardFile("proguard-android-optimize.txt"), |
101 "proguard-rules.pro" |
84 "proguard-rules.pro" |
102 ) |
85 ) |
103 } |
86 } |
104 } |
|
105 compileOptions { |
|
106 sourceCompatibility = JavaVersion.VERSION_17 |
|
107 targetCompatibility = JavaVersion.VERSION_17 |
|
108 } |
87 } |
109 |
88 |
110 buildFeatures { |
89 buildFeatures { |
111 compose = true |
90 compose = true |
112 } |
91 } |