Skip to content

Commit 29e53f0

Browse files
authored
Merge pull request #602 from mikepenz/develop
dev -> main
2 parents 0cf60a2 + 854bf38 commit 29e53f0

File tree

7 files changed

+23
-28
lines changed

7 files changed

+23
-28
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
- Auto mirroring for RTL (opt-in)
2929
- If it takes a Drawable, it will also work with the IconicsDrawable!
3030
- Save in APK size
31-
- [EXPERIMENTAL] Compose support
31+
- Compose support
3232

3333
**Already available fonts**
3434
- [Google Material Design Icons](https://github.com/google/material-design-icons)
@@ -52,7 +52,7 @@
5252

5353
## Latest releases 🛠
5454

55-
- Kotlin Next Gen | [v5.3.0](https://github.com/mikepenz/Android-Iconics/tree/v5.3.0)
55+
- Kotlin Next Gen | [v5.3.1](https://github.com/mikepenz/Android-Iconics/tree/v5.3.1)
5656
- Kotlin | [v4.0.2](https://github.com/mikepenz/Android-Iconics/tree/v4.0.2)
5757
- Java AndroidX | [v3.2.5](https://github.com/mikepenz/Android-Iconics/tree/v3.2.5)
5858
- Java Appcompat | [v3.0.4](https://github.com/mikepenz/Android-Iconics/tree/v3.0.4)
@@ -78,7 +78,7 @@ implementation "com.mikepenz:iconics-views:${latestAndroidIconicsRelease}"
7878
> Note: v5.1.x or newer requires the latest font versions
7979
8080
```gradle
81-
implementation 'com.mikepenz:google-material-typeface:4.0.0.1-kotlin@aar'
81+
implementation 'com.mikepenz:google-material-typeface:4.0.0.2-kotlin@aar'
8282
implementation 'com.mikepenz:google-material-typeface-{outlined|rounded|sharp}:4.0.0.1-kotlin@aar'
8383
implementation 'com.mikepenz:material-design-iconic-typeface:2.2.0.8-kotlin@aar'
8484
implementation 'com.mikepenz:fontawesome-typeface:5.9.0.2-kotlin@aar'
@@ -93,7 +93,7 @@ implementation 'com.mikepenz:foundation-icons-typeface:3.0.0.7-kotlin@aar'
9393
implementation 'com.mikepenz:ionicons-typeface:2.0.1.7-kotlin@aar'
9494
implementation 'com.mikepenz:pixeden-7-stroke-typeface:1.2.0.5-kotlin@aar'
9595
implementation 'com.mikepenz:material-design-icons-dx-typeface:5.0.1.2-kotlin@aar'
96-
implementation 'com.mikepenz:phosphor-typeface:1.0.0.0-kotlinn@aar'
96+
implementation 'com.mikepenz:phosphor-typeface:1.0.0.0-kotlin@aar'
9797
```
9898

9999
# Usage

build.gradle

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -18,20 +18,20 @@ buildscript {
1818

1919
ext {
2020
release = [
21-
versionName: "5.3.0",
22-
versionCode: 50300
21+
versionName: "5.3.1",
22+
versionCode: 50301
2323
]
2424

2525
setup = [
26-
compileSdk : 30,
27-
buildTools : "30.0.3",
26+
compileSdk : 31,
27+
buildTools : "31.0.0",
2828
minSdk : 16,
2929
composeMinSdk: 21,
3030
targetSdk : 30
3131
]
3232

3333
versions = [
34-
kotlin : '1.5.10',
34+
kotlin : '1.5.21',
3535
androidX : '1.0.0',
3636
recyclerView : '1.2.1',
3737
material : '1.4.0',
@@ -42,27 +42,26 @@ buildscript {
4242
ktx : [
4343
core: '1.6.0'
4444
],
45-
startup : '1.0.0',
46-
detekt : '1.16.0',
45+
startup : '1.1.0',
46+
detekt : '1.18.1',
4747
aboutLibraries : '8.9.1',
48-
materialDrawer : '8.4.2',
49-
fastAdapter : '5.4.1',
48+
materialDrawer : '8.4.3',
49+
fastAdapter : '5.5.1',
5050
// compose
51-
compose : '1.0.0'
51+
compose : '1.0.2'
5252
]
5353
}
5454

5555
repositories {
5656
google()
5757
mavenCentral()
58-
jcenter()
5958
maven {
6059
url "https://plugins.gradle.org/m2/"
6160
}
6261
}
6362

6463
dependencies {
65-
classpath 'com.android.tools.build:gradle:7.1.0-alpha05'
64+
classpath 'com.android.tools.build:gradle:7.1.0-alpha12'
6665
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:${versions.kotlin}"
6766
classpath "io.gitlab.arturbosch.detekt:detekt-gradle-plugin:${versions.detekt}"
6867
classpath "com.mikepenz.aboutlibraries.plugin:aboutlibraries-plugin:${versions.aboutLibraries}"
@@ -75,7 +74,6 @@ allprojects {
7574
repositories {
7675
google()
7776
mavenCentral()
78-
jcenter()
7977
maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
8078
}
8179
}

google-material-typeface/google-material-typeface-library/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ android {
2626
minSdkVersion setup.minSdk
2727
targetSdkVersion setup.targetSdk
2828
consumerProguardFiles 'consumer-proguard-rules.pro'
29-
versionCode 40001
30-
versionName "4.0.0.1-kotlin"
29+
versionCode 40002
30+
versionName "4.0.0.2-kotlin"
3131

3232
resValue "string", "googlematerial_version", "${versionName}"
3333
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-7.1-all.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-all.zip
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists

iconics-compose/src/main/java/com/mikepenz/iconics/compose/ExperimentalIconics.kt

Lines changed: 0 additions & 5 deletions
This file was deleted.

iconics-compose/src/main/java/com/mikepenz/iconics/compose/IconicsPainter.kt

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,11 @@ import androidx.compose.runtime.getValue
88
import androidx.compose.runtime.mutableStateOf
99
import androidx.compose.runtime.setValue
1010
import androidx.compose.ui.geometry.Size
11-
import androidx.compose.ui.graphics.*
11+
import androidx.compose.ui.graphics.Brush
12+
import androidx.compose.ui.graphics.Color
13+
import androidx.compose.ui.graphics.ColorFilter
14+
import androidx.compose.ui.graphics.SolidColor
15+
import androidx.compose.ui.graphics.asComposePath
1216
import androidx.compose.ui.graphics.drawscope.DrawScope
1317
import androidx.compose.ui.graphics.painter.Painter
1418
import com.mikepenz.iconics.typeface.IIcon
@@ -24,7 +28,6 @@ data class IconicsConfig(
2428
val iconOffsetYPx: Int = 0
2529
)
2630

27-
@ExperimentalIconics
2831
data class IconicsPainter(
2932
private val image: IIcon,
3033
private val config: IconicsConfig = IconicsConfig()

iconics-compose/src/main/java/com/mikepenz/iconics/compose/Image.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ import com.mikepenz.iconics.typeface.IIcon
3131
* @param colorFilter Optional ColorFilter to apply for the [ImageAsset] when it is rendered
3232
* onscreen
3333
*/
34-
@ExperimentalIconics
3534
@Suppress("NOTHING_TO_INLINE")
3635
@Composable
3736
@SuppressLint("ModifierParameter")

0 commit comments

Comments
 (0)