65 lines
1.6 KiB
Plaintext
65 lines
1.6 KiB
Plaintext
plugins {
|
|
kotlin("multiplatform")
|
|
id("org.jetbrains.compose")
|
|
id("com.android.library")
|
|
id("maven-publish")
|
|
}
|
|
|
|
group = "com.konyaco"
|
|
version = "0.0.1-dev4"
|
|
|
|
kotlin {
|
|
jvm()
|
|
android()
|
|
sourceSets {
|
|
val commonMain by getting {
|
|
dependencies {
|
|
implementation(compose.foundation)
|
|
implementation(project(":fluent"))
|
|
implementation(project(":fluent-icons-core"))
|
|
}
|
|
}
|
|
val jvmMain by getting {
|
|
dependencies {
|
|
implementation(compose.desktop.currentOs)
|
|
}
|
|
}
|
|
val jvmTest by getting
|
|
}
|
|
}
|
|
|
|
android {
|
|
compileSdk = 33
|
|
namespace = "com.konyaco.fluent.icons"
|
|
sourceSets["main"].manifest.srcFile("src/androidMain/AndroidManifest.xml")
|
|
defaultConfig {
|
|
minSdk = 24
|
|
targetSdk = 33
|
|
}
|
|
compileOptions {
|
|
sourceCompatibility = JavaVersion.VERSION_11
|
|
targetCompatibility = JavaVersion.VERSION_11
|
|
}
|
|
}
|
|
|
|
publishing {
|
|
repositories {
|
|
maven {
|
|
name = "OSSRHSnapshot"
|
|
url = uri("https://s01.oss.sonatype.org/content/repositories/snapshots/")
|
|
credentials {
|
|
username = System.getenv("MAVEN_USERNAME")
|
|
password = System.getenv("MAVEN_PASSWORD")
|
|
}
|
|
}
|
|
maven {
|
|
name = "OSSRH"
|
|
url = uri("https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/")
|
|
credentials {
|
|
username = System.getenv("MAVEN_USERNAME")
|
|
password = System.getenv("MAVEN_PASSWORD")
|
|
}
|
|
}
|
|
}
|
|
}
|