Design a site like this with WordPress.com
Get started

GSoC 2020: Week 7

Hey everyone!
Welcome to the 7th blog in the series of GSoC 2020 blogs.

This week was spent mostly with Gradle and Scala build tool. I tried updating sbt to latest upstream version. The currently packaged sbt is 0.13.13 and the latest upstream is 1.13.13. There have been a lot of changes. And upgrading it is not an easy task. I upgraded it using git-buildpackage and improved the patches. But I realized there’s bootstraping required once I read the debian/rules file from the initial packaging. I ran debuild anyway after installing all the dependencies. But it failed and I even lost the improvements I had made. Thanks to the git init command in debian/rules which I missed. I will have to study the sbt build process and upstream changes and then do incremental upgrades to sbt. But that will require time and it won’t be possible to complete Gradle during the duration of the project.

So I decided to revert upstream commits in Gradle to the point before they started using updated sbt (Gradle 5.2) The files are as they should be in Gradle 4.4.1 which we have in debian currently and should build but they fail with the same errors. I will be looking into those in upcoming week.

Honestly I hadn’t anticipated that Gradle upgrade will take so much time. But unfortunately it has. We have got other parts turning tho. An updated platform-tools is in pipeline which will build using AOSP build process and repos (mentioned this in previous blogs). I tested an emulator package too which should be uploaded by the time I publish this article. Core Kotlin is also done for and the plugins are only blocker now. All thanks to my partners Samyak Jain and Manas Kashyap. I am still grinding issues out of Gradle. And will be doing that until I get it packaged properly.

See you guys in the next one! Till then stay safe, stay hustling!

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

Create a website or blog at WordPress.com

Up ↑

%d bloggers like this: