diff --git a/README.md b/README.md index 38dd0c9d..5c9ca49a 100644 --- a/README.md +++ b/README.md @@ -47,30 +47,6 @@ You can see the use cases of this library in the repositories below: - [skydoves/DisneyCompose](https://github.com/skydoves/disneycompose): 🧸 A demo Disney app using Jetpack Compose and Hilt based on modern Android tech-stacks and MVVM architecture. - [skydoves/MovieCompose](https://github.com/skydoves/MovieCompose): 🎞 A demo movie app using Jetpack Compose and Hilt based on modern Android tech stacks.
-## SNAPSHOT - -
- See how to import the snapshot - -### Including the SNAPSHOT -[![Landscapist](https://img.shields.io/static/v1?label=snapshot&message=landscapist&logo=apache%20maven&color=C71A36)](https://oss.sonatype.org/content/repositories/snapshots/com/github/skydoves/landscapist/)
-Snapshots of the current development version of Landscapist are available, which track [the latest versions](https://oss.sonatype.org/content/repositories/snapshots/com/github/skydoves/landscapist/). - -To import snapshot versions on your project, add the code snippet below on your gradle file: -```Gradle -repositories { - maven { url 'https://oss.sonatype.org/content/repositories/snapshots/' } -} -``` - -Next, add the dependency below to your **module**'s `build.gradle` file: -```gradle -dependencies { - implementation "com.github.skydoves:landscapist-glide:2.3.2-SNAPSHOT" -} -``` -
-
Glide

Glide

@@ -88,9 +64,10 @@ allprojects { ``` Next, add the dependency below to your **module**'s `build.gradle` file: + ```gradle dependencies { - implementation "com.github.skydoves:landscapist-glide:2.3.4" + implementation("com.github.skydoves:landscapist-glide:2.3.5") } ``` @@ -202,7 +179,7 @@ Add the dependency below to your **module**'s `build.gradle` file: ```gradle dependencies { - implementation "com.github.skydoves:landscapist-coil:$version" + implementation("com.github.skydoves:landscapist-coil:$version") } ``` @@ -317,7 +294,7 @@ CoilImage( Add the dependency below to your **module**'s `build.gradle` file: ```gradle dependencies { - implementation "com.github.skydoves:landscapist-fresco:$version" + implementation("com.github.skydoves:landscapist-fresco:$version") } ``` > **Note**: `Landscapist-Fresco` includes version `3.1.0` of Fresco. So please make sure your project is using the same Fresco version or exclude the Fresco dependency to adapt yours. Also, please make sure the Jetpack Compose version on the [release page](https://github.com/skydoves/Landscapist/releases). @@ -409,7 +386,7 @@ Add the below dependency to your **module**'s `build.gradle` file. ```gradle dependencies { - implementation "com.github.skydoves:landscapist-fresco-websupport:$version" + implementation("com.github.skydoves:landscapist-fresco-websupport:$version") } ``` @@ -630,9 +607,9 @@ CompositionLocalProvider(LocalImageComponent provides component) { The `landscapist-placeholder` package provides useful image plugins, such as loading & failure placeholder supports and shimmering animation. To use placeholder supports, add the dependency below: -```groovy +```kotlin dependencies { - implementation "com.github.skydoves:landscapist-placeholder:$version" + implementation("com.github.skydoves:landscapist-placeholder:$version") } ``` @@ -718,9 +695,9 @@ component = rememberImageComponent { The `landscapist-animation` package provides useful image plugins related to animations, such as crossfade and circular reveal animation. To use animation supports, add the dependency below: -```groovy +```kotlin dependencies { - implementation "com.github.skydoves:landscapist-animation:$version" + implementation("com.github.skydoves:landscapist-animation:$version") } ``` @@ -773,9 +750,9 @@ GlideImage( The `landscapist-transformation` package provides useful image transformation plugins, such as the blur effect. To use transformation supports, add the dependency below: -```groovy +```kotlin dependencies { - implementation "com.github.skydoves:landscapist-transformation:$version" + implementation("com.github.skydoves:landscapist-transformation:$version") } ``` @@ -801,9 +778,9 @@ GlideImage( // CoilImage, FrescoImage also can be used. The `landscapist-palette` package provides useful image plugins related to palette, such as extracting primary color sets. To use palette supports, add the dependency below: -```groovy +```kotlin dependencies { - implementation "com.github.skydoves:landscapist-palette:$version" + implementation("com.github.skydoves:landscapist-palette:$version") } ``` @@ -867,16 +844,16 @@ GlideImage( // CoilImage, FrescoImage also can be used. The landscapist Bill of Materials (BOM) lets you manage all of your landscapist library versions by specifying only the BOM’s version. - ```groovy + ```kotlin dependencies { // Import the landscapist BOM - implementation "com.github.skydoves:landscapist-bom:$version" + implementation("com.github.skydoves:landscapist-bom:$version") // Import landscapist libraries - implementation "com.github.skydoves:landscapist-glide" // fresco or coil - implementation "com.github.skydoves:landscapist-placeholder" - implementation "com.github.skydoves:landscapist-palette" - implementation "com.github.skydoves:landscapist-transformation" + implementation("com.github.skydoves:landscapist-glide") // fresco or coil + implementation("com.github.skydoves:landscapist-placeholder") + implementation("com.github.skydoves:landscapist-palette") + implementation("com.github.skydoves:landscapist-transformation") } ``` diff --git a/buildSrc/src/main/kotlin/com/github/skydoves/landscapist/Configuration.kt b/buildSrc/src/main/kotlin/com/github/skydoves/landscapist/Configuration.kt index 30232a64..8c2a6e9e 100644 --- a/buildSrc/src/main/kotlin/com/github/skydoves/landscapist/Configuration.kt +++ b/buildSrc/src/main/kotlin/com/github/skydoves/landscapist/Configuration.kt @@ -23,9 +23,9 @@ object Configuration { const val minSdk24 = 24 const val majorVersion = 2 const val minorVersion = 3 - const val patchVersion = 4 + const val patchVersion = 5 const val versionName = "$majorVersion.$minorVersion.$patchVersion" - const val versionCode = 94 + const val versionCode = 95 const val snapshotVersionName = "$majorVersion.$minorVersion.${patchVersion + 1}-SNAPSHOT" const val artifactGroup = "com.github.skydoves" } diff --git a/docs/glide/overview.md b/docs/glide/overview.md index c1b0cef4..7a86e0a8 100644 --- a/docs/glide/overview.md +++ b/docs/glide/overview.md @@ -23,7 +23,7 @@ Next, add the dependency below to your **module**'s `build.gradle` file: ```Groovy dependencies { - implementation "com.github.skydoves:landscapist-glide:2.3.4" + implementation "com.github.skydoves:landscapist-glide:2.3.5" } ``` @@ -31,7 +31,7 @@ Next, add the dependency below to your **module**'s `build.gradle` file: ```kotlin dependencies { - implementation("com.github.skydoves:landscapist-glide:2.3.4") + implementation("com.github.skydoves:landscapist-glide:2.3.5") } ``` diff --git a/docs/snapshot.md b/docs/snapshot.md deleted file mode 100644 index b00dc758..00000000 --- a/docs/snapshot.md +++ /dev/null @@ -1,45 +0,0 @@ -# Snapshot - -You can download snapshots of Landscapist, which reflect early adopted API changes before shipping to the stable release. - -## Including the SNAPSHOT - -[![Landscapist](https://img.shields.io/static/v1?label=snapshot&message=landscapist&logo=apache%20maven&color=C71A36)](https://oss.sonatype.org/content/repositories/snapshots/com/github/skydoves/landscapist/)
-Snapshots of the current development version of Landscapist are available, which track [the latest versions](https://oss.sonatype.org/content/repositories/snapshots/com/github/skydoves/landscapist/). - -To import snapshot versions on your project, add the code snippet below on your gradle file: - -=== "Groovy" - - ```Groovy - repositories { - maven { url 'https://oss.sonatype.org/content/repositories/snapshots/' } - } - ``` - -=== "KTS" - - ```kotlin - repositories { - maven(url = "https://oss.sonatype.org/content/repositories/snapshots/") - } - ``` - - -Next, add the dependency below to your **module**'s `build.gradle` file: - -=== "Groovy" - - ```Groovy - dependencies { - implementation "com.github.skydoves:landscapist-glide:2.3.4-SNAPSHOT" - } - ``` - -=== "KTS" - - ```kotlin - dependencies { - implementation("com.github.skydoves:landscapist-glide:2.3.4-SNAPSHOT") - } - ``` diff --git a/mkdocs.yml b/mkdocs.yml index 7a51145a..416ff508 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -10,7 +10,6 @@ docs_dir: docs # Navigation nav: - 'Overview': index.md - - 'Snapshot': snapshot.md - 'Glide': - 'Overview': glide/overview.md - 'Custom Options': glide/options.md