HMS-Core / hms-flutter-plugin

This repo contains all of Flutter HMS plugins.
https://developer.huawei.com/consumer/en/doc/overview/HMS-Core-Plugin?ha_source=hms1
Apache License 2.0
278 stars 139 forks source link

6.12.0+302 didn't compile #375

Open EArminjon opened 1 month ago

EArminjon commented 1 month ago

Description Both issue got fixed but both releases didn't compile...

https://github.com/HMS-Core/hms-flutter-plugin/issues/342 https://github.com/HMS-Core/hms-flutter-plugin/issues/312 @ozkulbeng please check

Temporary solution :

android/build.gradle

allprojects {
    repositories {
        google()
        mavenCentral()
    }

    configurations.all {
        resolutionStrategy.dependencySubstitution {
            substitute module('org.bouncycastle:bcprov-jdk15on:1.70') with module('org.bouncycastle:bcprov-jdk15to18:1.69')
        }
    }
}

rootProject.buildDir = '../build'
subprojects {
    project.buildDir = "${rootProject.buildDir}/${project.name}"
}
subprojects {
    project.evaluationDependsOn(':app')
}

tasks.register("clean", Delete) {
    delete rootProject.buildDir
}

Expected behavior It should compile.

Current behavior It didn't compile.

Logs Check both issues to see logs.

Environment

EArminjon commented 2 days ago

UP ?