[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[GSoC-20 Report] [Weekly Report: 11] Android SDK tools in Debian


This report points to work done in Week 11 [Aug 10 - Aug 17].

Here's a quick update:

It was quite a hectic week :)

Forgot to mention last time, I finally submitted my project talk to the outreach team :D

Most of the errors of kotlin-Gradle-plugin are resolved. It was achieved by editing the source and backporting changes from Gradle (4.7, 4.9, and 5.0 as required). [1]

The backported modules are as follows:

Out of many, only these errors are left to be worked on.

e: /home/samyak/kotlin/master/kotlin-1.3.30/libraries/tools/kotlin-gradle-plugin/src/main/kotlin/org/jetbrains/kotlin/gradle/internal/kapt/Kapt3KotlinGradleSubplugin.kt: (302, 38): Type inference failed: Not enough information to infer parameter T in fun <T> emptyList(): List<T>

Please specify it explicitly.

e: /home/samyak/kotlin/master/kotlin-1.3.30/libraries/tools/kotlin-gradle-plugin/src/main/kotlin/org/jetbrains/kotlin/gradle/internal/kapt/Kapt3KotlinGradleSubplugin.kt: (309, 43): Unresolved reference: it

e: /home/samyak/kotlin/master/kotlin-1.3.30/libraries/tools/kotlin-gradle-plugin/src/main/kotlin/org/jetbrains/kotlin/gradle/plugin/KotlinPlugin.kt: (668, 20): Unresolved reference: Android25ProjectHandler

e: /home/samyak/kotlin/master/kotlin-1.3.30/libraries/tools/kotlin-gradle-plugin/src/main/kotlin/org/jetbrains/kotlin/gradle/plugin/TaskProviderHolder.kt: (25, 59): Unresolved reference: register

Why are these not resolved?

Because the above-pointed errors point to circular dependencies of com.android.tools.build:gradle:3.0.0. This weekend I tried patching out and wrote some custom functions as per the old documentation but the android-gradle-plugin is pretty obsolete in terms of kotlin requirement.

But as suggested on the channel, I'll try to remove the android constraints and try to make this work!

Thanks and regards,

Samyak Jain


[1] https://salsa.debian.org/java-team/gradle/-/merge_requests/6

Reply to: