Hello Kotliners, for my master thesis I ventured ...
# codereview
d
Hello Kotliners, for my master thesis I ventured in the CI world and made an plugin for Jenkins-CI (targeted to android). It watches over the changing size of the generated .apk file and fails the build once the change exceeds a specified threshold. On top of that it might be the first(?) or at least currently only plugin written in Kotlin and I would love to recieve feedback from you for the implementation. Since the plugin does not have a lot of state, top level functions are used heavily and were a huge factor in reducing lines of code. The conversion from java (which I used at first for the development) to Kotlin removed a total of 400! lines of code! Kotlin is awesome! 🙂 Feel free to tell me any feedback you have (for the code and the functionality) - this is very important! Functionality: https://wiki.jenkins.io/display/JENKINS/Android+Apk+Size+Watcher+Plugin Repository: https://github.com/jenkinsci/android-apk-size-watcher-plugin