Show all tasks in the root project:
./gradlew :tasks --all
Show all tasks in a subproject:
./gradlew :foo:tasks --all
| package com.example; | |
| import io.micronaut.context.ApplicationContext; | |
| import io.micronaut.runtime.Micronaut; | |
| public class Application { | |
| public static void main(String[] args) { | |
| ApplicationContext applicationContext = Micronaut.run(Application.class, args); |
| 2022-05-18T14:52:33.868+0200 [INFO] Terraform version: 1.1.9 | |
| 2022-05-18T14:52:33.868+0200 [INFO] Go runtime version: go1.17.2 | |
| 2022-05-18T14:52:33.868+0200 [INFO] CLI args: []string{"/usr/local/Cellar/tfenv/2.2.2/versions/1.1.9/terraform", "plan"} | |
| 2022-05-18T14:52:33.868+0200 [TRACE] Stdout is not a terminal | |
| 2022-05-18T14:52:33.868+0200 [TRACE] Stderr is not a terminal | |
| 2022-05-18T14:52:33.868+0200 [TRACE] Stdin is a terminal | |
| 2022-05-18T14:52:33.868+0200 [DEBUG] Attempting to open CLI config file: /Users/martijn/.terraformrc | |
| 2022-05-18T14:52:33.868+0200 [DEBUG] File doesn't exist, but doesn't need to. Ignoring. | |
| 2022-05-18T14:52:33.868+0200 [DEBUG] ignoring non-existing provider search directory terraform.d/plugins | |
| 2022-05-18T14:52:33.868+0200 [DEBUG] ignoring non-existing provider search directory /Users/martijn/.terraform.d/plugins |
Show all tasks in the root project:
./gradlew :tasks --all
Show all tasks in a subproject:
./gradlew :foo:tasks --all
| public class Main { | |
| public enum Days { | |
| SUNDAY, MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, | |
| SATURDAY { | |
| public String toString() { | |
| return "Samstag"; | |
| } | |
| }; | |
| } |
| import java.util.ArrayList; | |
| import java.util.Arrays; | |
| public class Main { | |
| public static void main(String[] args) { | |
| ArrayConstructor<Integer> inner = new ArrayConstructor<Integer>(); | |
| inner.add("Foo"); | |
| inner.add("Bar"); | |
| inner.add("Baz"); | |
| inner.add(42); |
| sudo tee /etc/sudoers.d/vagrant > /dev/null << EOL | |
| # | |
| # Arch Linux, Fedora sudoers entries | |
| # | |
| # Allow passwordless startup of Vagrant with vagrant-hostsupdater. | |
| Cmnd_Alias VAGRANT_HOSTS_ADD = /bin/sh -c echo "*" >> /etc/hosts | |
| Cmnd_Alias VAGRANT_HOSTS_REMOVE = /usr/bin/sed -i -e /*/ d /etc/hosts | |
| %sudo ALL=(root) NOPASSWD: VAGRANT_HOSTS_ADD, VAGRANT_HOSTS_REMOVE |
| ....[Hottest Region 1].............................................................................. | |
| C2, nl.martijndwars.jits.generated.Range_benchmark_jmhTest::benchmark_avgt_jmhStub, version 92 (285 bytes) | |
| ; - nl.martijndwars.jits.generated.Range_benchmark_jmhTest::benchmark_avgt_jmhStub@33 (line 192) | |
| 0x000000010ee39cf8: mov $0x1,%ebx | |
| ╭ 0x000000010ee39cfd: jmpq 0x000000010ee39e29 | |
| │ 0x000000010ee39d02: mov %r8,0x50(%rsp) | |
| │ 0x000000010ee39d07: mov %rbx,0x10(%rsp) ;*lload_2 | |
| │ ; - java.util.Random::seedUniquifier@24 (line 115) | |
| │ ; - java.util.Random::<init>@1 (line 105) |
| import scala.io.Source | |
| import scala.collection.mutable.Map | |
| object Asm { | |
| def main(args: Array[String]): Unit = { | |
| val lines = Source.fromFile("input.txt").getLines.toList | |
| val map = Map.empty[String, Int] | |
| // First, map all addresses to integers | |
| lines.filter(_.startsWith("0x")).map(_.take(18)).zipWithIndex.foreach { |
| /* | |
| * Depend on Spoofax and replace org.graalvm:graal-sdk by org.graalvm.skd:graal-sdk. The exclusion | |
| * resolves a conflict during compilatin and also shows up in the generated .pom. | |
| */ | |
| plugins { | |
| id 'java' | |
| id 'maven-publish' | |
| } | |
| group = 'nl.martijndwars' |