Skip to content

Commit 66df10a

Browse files
authored
Merge pull request #8 from Konyaco/dev
Dev
2 parents 4f1cbbf + 0897a79 commit 66df10a

File tree

5 files changed

+63
-19
lines changed

5 files changed

+63
-19
lines changed

build.gradle.kts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
plugins {
2-
kotlin("multiplatform") version "1.7.20" apply false
3-
id("org.jetbrains.compose") version "1.3.0-beta04-dev873" apply false
4-
id("com.android.library") version "7.3.1" apply false
5-
id("org.jetbrains.kotlin.android") version "1.7.20" apply false
2+
kotlin("multiplatform") version "1.8.0" apply false
3+
id("org.jetbrains.compose") version "1.3.1" apply false
4+
id("com.android.library") version "7.4.2" apply false
5+
id("org.jetbrains.kotlin.android") version "1.8.0" apply false
66
}
77

8-
group = "com.konyaco.fluent"
8+
group = "com.konyaco"
99

1010
allprojects {
1111
repositories {
1212
google()
1313
mavenCentral()
1414
maven("https://maven.pkg.jetbrains.space/public/p/compose/dev")
1515
}
16-
}
16+
}

fluent-icons-core/build.gradle.kts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,11 @@ plugins {
22
kotlin("multiplatform")
33
id("org.jetbrains.compose")
44
id("com.android.library")
5+
id("maven-publish")
56
}
67

7-
group = "com.konyaco.fluent"
8-
version = "0.0.1-dev3"
8+
group = "com.konyaco"
9+
version = "0.0.1-dev4"
910

1011
kotlin {
1112
jvm()
@@ -37,4 +38,4 @@ android {
3738
sourceCompatibility = JavaVersion.VERSION_11
3839
targetCompatibility = JavaVersion.VERSION_11
3940
}
40-
}
41+
}

fluent-icons-extended/build.gradle.kts

Lines changed: 25 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,11 @@ plugins {
22
kotlin("multiplatform")
33
id("org.jetbrains.compose")
44
id("com.android.library")
5+
id("maven-publish")
56
}
67

7-
group = "com.konyaco.fluent"
8-
version = "0.0.1-dev3"
8+
group = "com.konyaco"
9+
version = "0.0.1-dev4"
910

1011
kotlin {
1112
jvm()
@@ -39,4 +40,25 @@ android {
3940
sourceCompatibility = JavaVersion.VERSION_11
4041
targetCompatibility = JavaVersion.VERSION_11
4142
}
42-
}
43+
}
44+
45+
publishing {
46+
repositories {
47+
maven {
48+
name = "OSSRHSnapshot"
49+
url = uri("https://s01.oss.sonatype.org/content/repositories/snapshots/")
50+
credentials {
51+
username = System.getenv("MAVEN_USERNAME")
52+
password = System.getenv("MAVEN_PASSWORD")
53+
}
54+
}
55+
maven {
56+
name = "OSSRH"
57+
url = uri("https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/")
58+
credentials {
59+
username = System.getenv("MAVEN_USERNAME")
60+
password = System.getenv("MAVEN_PASSWORD")
61+
}
62+
}
63+
}
64+
}

fluent/build.gradle.kts

Lines changed: 25 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,11 @@ plugins {
22
kotlin("multiplatform")
33
id("org.jetbrains.compose")
44
id("com.android.library")
5+
id("maven-publish")
56
}
67

7-
group = "com.konyaco.fluent"
8-
version = "0.0.1-dev3"
8+
group = "com.konyaco"
9+
version = "0.0.1-dev4"
910

1011
kotlin {
1112
jvm()
@@ -49,4 +50,25 @@ android {
4950
sourceCompatibility = JavaVersion.VERSION_11
5051
targetCompatibility = JavaVersion.VERSION_11
5152
}
52-
}
53+
}
54+
55+
publishing {
56+
repositories {
57+
maven {
58+
name = "OSSRHSnapshot"
59+
url = uri("https://s01.oss.sonatype.org/content/repositories/snapshots/")
60+
credentials {
61+
username = System.getenv("MAVEN_USERNAME")
62+
password = System.getenv("MAVEN_PASSWORD")
63+
}
64+
}
65+
maven {
66+
name = "OSSRH"
67+
url = uri("https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/")
68+
credentials {
69+
username = System.getenv("MAVEN_USERNAME")
70+
password = System.getenv("MAVEN_PASSWORD")
71+
}
72+
}
73+
}
74+
}

fluent/src/commonMain/kotlin/com/konyaco/fluent/Colors.kt

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import androidx.compose.runtime.*
44
import androidx.compose.ui.graphics.Brush
55
import androidx.compose.ui.graphics.Color
66
import androidx.compose.ui.graphics.takeOrElse
7-
import org.jetbrains.skia.defaultLanguageTag
87

98
@Stable
109
class Colors(
@@ -358,8 +357,8 @@ internal fun generateStroke(shades: Shades, darkMode: Boolean): Stroke =
358357
private fun generateBorders(fillAccent: FillAccentColors, stroke: Stroke, darkMode: Boolean): Borders =
359358
if (darkMode) Borders(
360359
control = Brush.verticalGradient(
361-
0.0957f to stroke.control.default,
362-
1f to stroke.control.secondary
360+
0.0957f to stroke.control.secondary,
361+
1f to stroke.control.default
363362
),
364363
accentControl = Brush.verticalGradient(
365364
0.9067f to stroke.control.onAccentDefault,
@@ -398,4 +397,4 @@ private fun generateBorders(fillAccent: FillAccentColors, stroke: Stroke, darkMo
398397
0.9395f to stroke.control.default,
399398
0.9414f to fillAccent.default
400399
)
401-
)
400+
)

0 commit comments

Comments
 (0)