Gradle Operations: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 16: Line 16:
* Get sources from GitHub. "Subproject" sources are available in subprojects/bootstrap/src/main/java, subprojects/launcher/src/main/java, etc.
* Get sources from GitHub. "Subproject" sources are available in subprojects/bootstrap/src/main/java, subprojects/launcher/src/main/java, etc.
* Script that collects sources and builds a consolidated source JAR file is available here:  
* Script that collects sources and builds a consolidated source JAR file is available here:  
** https://github.com/ovidiuf/shell-tools/blob/master/gradle/package-gradle-sources
** https://github.com/ovidiuf/playground/blob/master/gradle/tools/build-source-jar
** https://github.com/ovidiuf/playground/blob/master/gradle/tools/build-source-jar
** https://github.com/ovidiuf/shell-tools/blob/master/gradle/package-gradle-sources
* Attach them to External Libraries → gradle-api-6.2.2.jar → Right click → Open Library Settings → Right click → Edit → +  
* Attach them to External Libraries → gradle-api-6.2.2.jar → Right click → Open Library Settings → Right click → Edit → +  
</font>
</font>

Revision as of 02:43, 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

External Gradle Process

IDE Configuration

https://medium.com/dan-on-coding/debugging-gradle-source-code-in-intellij-e1224bec9b6e

No Gradle Daemon is Used

Gradle Daemon is Used

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

Gradle runs in IntelliJ

Edit configurations → + → Gradle

Gradle Daemon Operations

Gradle Daemon Operations

TODEPLETE

Operations TODEPLETE