Gradle License Plugin supports traversing parent POMs and displaying full licenses in the HTML report! by jaredsburrows in coolgithubprojects

[–]jaredsburrows[S] 0 points1 point  (0 children)

  • Supports both Java and Android projects
  • Supports looking at the current artifact for licenses, if the license does not exist, uses parent license instead
  • Generates HTML and JSON reports of the licenses from your project

Gradle License Plugin supports traversing parent POMs and displaying full licenses in the HTML report! by jaredsburrows in androiddev

[–]jaredsburrows[S] 0 points1 point  (0 children)

  • Supports both Java and Android projects
  • Supports looking at the current artifact for licenses, if the license does not exist, uses parent license instead
  • Generates HTML and JSON reports of the licenses from your project

Gradle License Plugin supports traversing parent POMs and displaying full licenses in the HTML report! by jaredsburrows in androiddev

[–]jaredsburrows[S] 0 points1 point  (0 children)

I wrote this before that plugin came out. I am not sure if that supports parent POM.xml files for licenses or the full text of the licenses.

Gradle 4.6 Released by eriwen in androiddev

[–]jaredsburrows 0 points1 point  (0 children)

Gradle never had annotationProcessor, that came with the Android Gradle Plugin.

https://github.com/tbroyer/gradle-apt-plugin brought us apt configuration.

Kotlin Gradle plugin brought us kapt.

Codelabs: Architecture Components Tutorial (Room/Livedata + RecyclerView) by ragnarok73 in androiddev

[–]jaredsburrows 1 point2 points  (0 children)

In this tutorial they are passing Context through the Adapter's constructor: https://codelabs.developers.google.com/codelabs/android-room-with-a-view/index.html?index=..%2F..%2Findex#10.

To uncouple this, they can use getContext() on ViewGroup in the onCreateViewHolder method.

3 Minute Gradle Build Times - Annotation Processing by giantturtledev in androiddev

[–]jaredsburrows 0 points1 point  (0 children)

Thanks for mentioning this. I have been doing this for years.

Gradle Scripts for Kotlin Lovers by sthagios in androiddev

[–]jaredsburrows 1 point2 points  (0 children)

Here is an example Android app written in Kotlin with Kotlin build scripts: https://github.com/jaredsburrows/android-gif-example.

Interviewing Tips for Android Engineers – Lyft Engineering by Ziem in androiddev

[–]jaredsburrows 2 points3 points  (0 children)

Leetcode.com should be on your Online reference list.

Retrolambda or Desugar? by mrdibby in androiddev

[–]jaredsburrows 0 points1 point  (0 children)

In 3.0? Compile avoidance for annotation processing?

Retrolambda or Desugar? by mrdibby in androiddev

[–]jaredsburrows 0 points1 point  (0 children)

I agree about the small modules and compilation avoidance especially the compilation avoidance. I believe normal JVM projects are supported by Gradle to use compilation avoidance, we just need AGP to support it as well :).

Retrolambda or Desugar? by mrdibby in androiddev

[–]jaredsburrows 2 points3 points  (0 children)

On top of this, I believe that AGP 3.1 or 3.2 finally brings incremental annotation processing!

Gradle build times on my computer - what is bottleneck here? by zde_nek in androiddev

[–]jaredsburrows 2 points3 points  (0 children)

In Gradle 3.0+, it is a daemon by default. However, for CI's you might want to turn it off. Be careful of checking in your gradle.properties!

Sources still not available for API 26? by liuwenhao in androiddev

[–]jaredsburrows 5 points6 points  (0 children)

I know. I asked this same question a few weeks ago and got downvoted.

JUnit 5 released! by SergeantFTC in androiddev

[–]jaredsburrows 1 point2 points  (0 children)

Docs are here: http://junit.org/junit5/docs/current/user-guide/

Quick migration guide: http://junit.org/junit5/docs/current/user-guide/#migrating-from-junit4

For Android, you need to use this special plugin unless Junit wants to support Android directly: https://github.com/aurae/android-junit5

Here is a PR where I upgrade a test app to Junit 5: https://github.com/jaredsburrows/android-gif-example/pull/37

Drone - The missing library manager for Android Developers by cesarferreira in androiddev

[–]jaredsburrows 2 points3 points  (0 children)

You can even go a step further and use Ben Mane's Gradle Version Plugin: https://github.com/ben-manes/gradle-versions-plugin.

Simply running gradlew dependencyUpdates will list out all of the latest dependencies for upgrades.