Skip to content
Marcello de Sales edited this page Aug 11, 2021 · 2 revisions

Welcome to the unmazedboot wiki!

Issue: Make builds faster

  • Improve build speed: using dist instead of Jar

HERE: https://doordash.engineering/2021/01/05/tailoring-gradle-and-docker-for-rapid-local-development/

  1. change build
$ gradle installDist --no-daemon
To honour the JVM settings for this build a single-use Daemon process will be forked. See https://docs.gradle.org/7.1.1/userguide/gradle_daemon.html#sec:disabling_the_daemon.
Daemon will be stopped at the end of the build

> Task :compileJava
Note: /Users/marcellodesales/dev/gitlab.com/supercash/services/event-notification-service/src/main/java/cash/super_/platform/client/auth/AuthClientService.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

See https://docs.gradle.org/7.1.1/userguide/command_line_interface.html#sec:command_line_warnings

BUILD SUCCESSFUL in 16s
5 actionable tasks: 5 executed
  • The files under the build are not jar'ed
    • Binary: build/install/${COMPOSE_SERVICE}/bin/${COMPOSE_SERVICE}
    • Libs: build/install/event-notification-service/lib/

Make Runtime Faster

Clone this wiki locally