Skip to content

Commit

Permalink
update to KSP
Browse files Browse the repository at this point in the history
  • Loading branch information
mostafahashim committed Feb 5, 2024
1 parent 1e9e8a2 commit f1a1649
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .idea/kotlinc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ plugins {
id("com.android.application")
id("org.jetbrains.kotlin.android")
id("kotlin-kapt")
id("com.google.devtools.ksp")
}

android {
Expand Down Expand Up @@ -59,7 +60,7 @@ dependencies {
implementation("com.github.bumptech.glide:okhttp3-integration:4.13.0@aar")
implementation("com.github.bumptech.glide:glide:4.15.1")
implementation("com.github.2coffees1team:GlideToVectorYou:v2.0.0")
kapt ("com.github.bumptech.glide:compiler:4.13.0")
ksp ("com.github.bumptech.glide:ksp:4.15.1")

implementation(project(":gallerylib"))
// implementation ("com.github.mostafahashim:GalleryLibrary:1.1.6")
Expand Down
5 changes: 3 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules.
plugins {
id("com.android.application") version "8.2.1" apply false
id("org.jetbrains.kotlin.android") version "1.9.20" apply false
id("com.android.application") version "8.2.2" apply false
id("org.jetbrains.kotlin.android") version "1.9.22" apply false
id("com.google.devtools.ksp") version "1.9.10-1.0.13" apply false
}
15 changes: 8 additions & 7 deletions gallerylib/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ plugins {
id 'kotlin-kapt'

id 'maven-publish'
id 'com.google.devtools.ksp'
}

android {
Expand Down Expand Up @@ -53,8 +54,8 @@ dependencies {
implementation "androidx.recyclerview:recyclerview:1.3.2"
//LiveData & ViewModel
implementation 'androidx.lifecycle:lifecycle-extensions:2.2.0'
implementation 'androidx.lifecycle:lifecycle-livedata-ktx:2.6.2'
implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.6.2'
implementation 'androidx.lifecycle:lifecycle-livedata-ktx:2.7.0'
implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.7.0'
//Coroutines
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.7.3'
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-play-services:1.7.3'
Expand All @@ -70,14 +71,14 @@ dependencies {
// If you want to use the GPU Filters
implementation 'com.github.bumptech.glide:okhttp3-integration:4.13.0@aar'
implementation 'com.github.bumptech.glide:glide:4.15.1'
kapt 'com.github.bumptech.glide:compiler:4.13.0'
ksp 'com.github.bumptech.glide:ksp:4.15.1'
//multidex
implementation 'androidx.multidex:multidex:2.0.1'
implementation 'com.github.chrisbanes:PhotoView:2.3.0'
// media3 formally exo Player
implementation 'androidx.media3:media3-exoplayer:1.2.0'
implementation 'androidx.media3:media3-exoplayer-dash:1.2.0'
implementation 'androidx.media3:media3-ui:1.2.0'
implementation 'androidx.media3:media3-exoplayer:1.2.1'
implementation 'androidx.media3:media3-exoplayer-dash:1.2.1'
implementation 'androidx.media3:media3-ui:1.2.1'

//crop
implementation("com.vanniktech:android-image-cropper:4.5.0")
Expand All @@ -91,7 +92,7 @@ afterEvaluate {

groupId = 'com.github.mostafahashim'
artifactId = 'gallery-lib'
version = '1.2.7'
version = '1.2.8'
}
}
}
Expand Down

0 comments on commit f1a1649

Please sign in to comment.