Gradle Operations: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 8: Line 8:
=Operations=
=Operations=
==Debug a Gradle Build==
==Debug a Gradle Build==
{{External|https://docs.gradle.org/current/userguide/troubleshooting.html#sec:troubleshooting_build_logic}}
===IDE Configuration===
===IDE Configuration===
<font color=darkgray>
<font color=darkgray>
Line 18: Line 19:
===Gradle Daemon is Used===
===Gradle Daemon is Used===
{{Internal|Gradle_System_Properties#Attaching_a_Debugger_to_a_Gradle_Daemon|Gradle System Properties &#124; org.gradle.jvmargs &#124; Attaching a Debugger to a Gradle Daemon}}
{{Internal|Gradle_System_Properties#Attaching_a_Debugger_to_a_Gradle_Daemon|Gradle System Properties &#124; org.gradle.jvmargs &#124; Attaching a Debugger to a Gradle Daemon}}
==Gradle Daemon Operations==
==Gradle Daemon Operations==
{{Internal|Gradle Daemon Operations|Gradle Daemon Operations}}
{{Internal|Gradle Daemon Operations|Gradle Daemon Operations}}

Revision as of 01:32, 27 March 2021

Internal

Installation

Gradle Installation

Command Line

Gradle Command Line

Operations

Debug a Gradle Build

https://docs.gradle.org/current/userguide/troubleshooting.html#sec:troubleshooting_build_logic

IDE Configuration

  • Get sources from GitHub. "Subproject" sources are available in subprojects/bootstrap/src/main/java, subprojects/launcher/src/main/java, etc.
  • A script that collects sources and builds a consolidated source JAR file is available here: https://github.com/ovidiuf/playground/blob/master/gradle/tools/build-source-jar
  • Attach them to External Libraries → gradle-api-6.2.2.jar → Right click → Open Library Settings → Right click → Edit → +

No Gradle Daemon is Used

Gradle Daemon is Used

Gradle System Properties | org.gradle.jvmargs | Attaching a Debugger to a Gradle Daemon

Gradle Daemon Operations

Gradle Daemon Operations

TODEPLETE

Operations TODEPLETE