BestBurning / platform_device_id

flutter plugin to get device id
https://pub.dev/packages?q=platform_device_id
BSD 3-Clause "New" or "Revised" License
80 stars 197 forks source link

platform_device_id -> org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.50 #48

Open Rajatkumar0662 opened 9 months ago

Rajatkumar0662 commented 9 months ago

The package is not supported for the Latest Kotlin versions.

current configuration

  **
  platform_device_id: ^1.0.1
  **
buildscript {
    ext.kotlin_version = '1.7.10'
    repositories {
        google()
        mavenCentral()
    }
}

Error while building:

FAILURE: Build failed with an exception.

* What went wrong:
The Android Gradle plugin supports only Kotlin Gradle plugin version 1.5.20 and higher.
The following dependencies do not satisfy the required version:
project ':platform_device_id' -> org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.50

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 5s
Running Gradle task 'assembleRelease'...                            6.2s
Gradle task assembleRelease failed with exit code 1
helderlj commented 9 months ago

This is not going to be fixed dude, the author has abandoned the project. You have to see the pull request section like #47

stan-at-work commented 3 months ago

This is not going to be fixed dude, the author has abandoned the project. You have to see the pull request section like #47

There should an updated fork for this repo. If i don't find one. i will fork it

faridfedora commented 1 month ago

@Rajatkumar0662 @stan-at-work try this fork: https://github.com/faridfedora/platform_device_id_kotlin_updated

or just add these lines to your dependency:


  platform_device_id:
    git:
      url: https://github.com/faridfedora/platform_device_id_kotlin_updated.git
      ref: main