idiomatic-gradle

How do I idiomatically structure a large build with Gradle 7.2+? (by jjohannes)

Idiomatic-gradle Alternatives

Similar projects and alternatives to idiomatic-gradle based on common topics and language

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better idiomatic-gradle alternative or higher similarity.

idiomatic-gradle reviews and mentions

Posts with mentions or reviews of idiomatic-gradle. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-04-13.
  • Android Developers Blog: Kotlin DSL is Now the Default for New Gradle Builds
    2 projects | /r/androiddev | 13 Apr 2023
    You should look into how https://github.com/jjohannes/idiomatic-gradle and similar projects handle it (nowinandroid has a good set up as well).
  • just enough gradle
    2 projects | /r/androiddev | 4 Jan 2023
    And finally, look at the idiomatic gradle repo. There is also a free video series that goes with this Understanding Gradle – Video Series. There are lots of bad practices in gradle that will slow your builds down, like using allProjects {}
  • For builds: Gradle vs Maven vs IntelliJ
    3 projects | /r/Kotlin | 25 May 2022
    I'd suggest getting rid of buildSrc, and just using build composition. I mentioned in another response, but check out https://github.com/jjohannes/idiomatic-gradle for how to use precompiled script plugins that are connected to the project via includedBuilds. The only issues I've had with this are generally resolved by just running the sub-build independently to resolve any caching issues in the 'primary' build. A simple gradlew build --settings-file ./build-logic/settings.gradle.kts run will generally resolve that, and that issue seems largely because of the 'root' build being a peer or anscestor of the included build (due to legacy structure of the project, an issue the linked example repo does not have).
  • Herding elephants: Wrangling a 3,500-module Gradle project
    1 project | dev.to | 11 Nov 2021
    When we initially migrated from buildSrc to an included build, it seemed an elegant solution to the problems outlined above. We were dropping buildSrc, with all its problems, and using the modern facility that Gradle considers the preferred, idiomatic replacement for buildSrc. (For a very elaborate example of this, see the idiomatic-gradle repo by former Gradle engineer Jendrik Johannes.) Included builds are indeed the best of both worlds in many ways: they can exist under version control in the same repository as the build that uses them; they can be easily opened in a separate IDE instance, improving build engineer productivity; they don't have the automatic test behavior of buildSrc, which improves feature engineer performance; and they're generally very well-behaved, without any of the magic of buildSrc.
  • A note from our sponsor - InfluxDB
    www.influxdata.com | 25 Apr 2024
    Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality. Learn more →

Stats

Basic idiomatic-gradle repo stats
5
431
0.0
about 1 year ago

jjohannes/idiomatic-gradle is an open source project licensed under Apache License 2.0 which is an OSI approved license.

The primary programming language of idiomatic-gradle is Kotlin.


Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com