Skip to content

Update Kotlin to 1.8.20 and bump library version to 1.5.0#250

Merged
faruktoptas merged 5 commits into
masterfrom
copilot/update-kotlin-version-1-8-20
Nov 14, 2025
Merged

Update Kotlin to 1.8.20 and bump library version to 1.5.0#250
faruktoptas merged 5 commits into
masterfrom
copilot/update-kotlin-version-1-8-20

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Nov 9, 2025

Update Kotlin to 1.8.20 and dependencies

Completed Changes:

  • Update Kotlin version from 1.7.21 to 1.8.20 in versions.gradle
  • Update Gradle wrapper to 8.0 (compatible with Kotlin 1.8.20 and AGP 8.0.2)
  • Update Android Gradle Plugin to 8.0.2 (compatible with Kotlin 1.8.20 and Gradle 8.0)
  • Update library version from 1.4.0 to 1.5.0 in versions.gradle
  • Update README.md to reflect new version (1.5.0)
  • Add namespace configuration for AGP 8.0 compatibility (required for library and app modules)
  • Fix JVM target compatibility by setting both Java and Kotlin to target 1.8
  • Remove deprecated kotlin-android-extensions plugin from app module
  • Enable ViewBinding in app module
  • Migrate all activities to use ViewBinding instead of synthetic imports

Summary:

All requested updates have been successfully applied to the repository:

  • Kotlin: 1.7.21 → 1.8.20
  • Gradle wrapper: 7.5 → 8.0
  • Android Gradle Plugin: 7.4.2 → 8.0.2
  • Library version: 1.4.0 → 1.5.0 (minor version incremented by 1)
  • README: Updated with new library version
  • JVM Target: Set to 1.8 for both Java and Kotlin compilation
  • Removed deprecated plugin: kotlin-android-extensions removed from app module
  • ViewBinding: Enabled and implemented in all 6 activities (MainActivity, SecondActivity, QueueActivity, CustomQueueActivity, RecyclerViewActivity, AnimatedActivity)

The changes ensure compatibility between all tools and maintain the build configuration requirements for AGP 8.0+. The app module has been modernized to use ViewBinding instead of the deprecated synthetic imports pattern.

Original prompt

kotlin sürümünü 1.8.20 ye çıkar ve ilgili paketleri ve bağımlıkları güncelle. gradle, wrapper vs. Bunları yapıp bir pull request oluştur. kütüphanenin minor sürümünü de 1 arttır. aynı şekilde readmeyi güncelle.


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

…sion to 1.5.0

Co-authored-by: faruktoptas <1595227+faruktoptas@users.noreply.github.com>
Copilot AI changed the title [WIP] Update Kotlin version to 1.8.20 and refresh dependencies Update Kotlin to 1.8.20 and bump library version to 1.5.0 Nov 9, 2025
Copilot AI requested a review from faruktoptas November 9, 2025 19:21
@faruktoptas faruktoptas marked this pull request as ready for review November 10, 2025 18:46
@faruktoptas
Copy link
Copy Markdown
Owner

@copilot fix this error

Task :fancyshowcaseview:compileDebugKotlin FAILED

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':fancyshowcaseview:compileDebugKotlin'.

'compileDebugJavaWithJavac' task (current target is 1.8) and 'compileDebugKotlin' task (current target is 17) jvm target compatibility should be set to the same Java version.
Consider using JVM toolchain: https://kotl.in/gradle/jvm/toolchain

Co-authored-by: faruktoptas <1595227+faruktoptas@users.noreply.github.com>
Copy link
Copy Markdown
Contributor Author

Copilot AI commented Nov 11, 2025

@copilot fix this error

Task :fancyshowcaseview:compileDebugKotlin FAILED

...

Fixed in da2981a. Added compileOptions and kotlinOptions to both library and app modules to ensure Java and Kotlin compile to the same JVM target (1.8).

@faruktoptas
Copy link
Copy Markdown
Owner

@copilot fix this

The Android extensions ('kotlin-android-extensions') compiler plugin is no longer supported. Please use kotlin parcelize and view binding. More information: https://goo.gle/kotlin-android-extensions-deprecation

Task :fancyshowcaseview:compileDebugUnitTestKotlin

Co-authored-by: faruktoptas <1595227+faruktoptas@users.noreply.github.com>
Copy link
Copy Markdown
Contributor Author

Copilot AI commented Nov 14, 2025

@copilot fix this

The Android extensions ('kotlin-android-extensions') compiler plugin is no longer supported. Please use kotlin parcelize and view binding. More information: https://goo.gle/kotlin...

Fixed in 0fb8c22. Removed the deprecated kotlin-android-extensions plugin from app/build.gradle.

@faruktoptas
Copy link
Copy Markdown
Owner

@copilot use view binding in all activities in app module

Co-authored-by: faruktoptas <1595227+faruktoptas@users.noreply.github.com>
Copy link
Copy Markdown
Contributor Author

Copilot AI commented Nov 14, 2025

@copilot use view binding in all activities in app module

Implemented in 7c9a3e3. Enabled ViewBinding in build.gradle and migrated all 6 activities (MainActivity, SecondActivity, QueueActivity, CustomQueueActivity, RecyclerViewActivity, AnimatedActivity) to use ViewBinding instead of synthetic imports.

@faruktoptas faruktoptas merged commit 70c20f1 into master Nov 14, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants