<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Naotsugu</author_name>
  <author_url>https://blog.hatena.ne.jp/Naotsugu/</author_url>
  <blog_title>A Memorandum</blog_title>
  <blog_url>https://blog1.mammb.com/</blog_url>
  <categories>
  </categories>
  <description>blog1.mammb.com application プラグインで ./gradlew run すると、コンソールからのキーボード入力が受け付けられない。 デフォルトでは JavaExec タスクに標準入力が割り当てられないためである。 この場合は build.gradle.kts に以下のように標準入力を指定する。 tasks.run.configure { standardInput = System.`in` } 以下のようにしてもOK。 tasks.named&lt;JavaExec&gt;(&quot;run&quot;) { standardInput = System.`in` }</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog1.mammb.com%2Fentry%2F2025%2F01%2F01%2F000000&quot; title=&quot;Gradle の application プラグインでキーボード入力を受け付ける - A Memorandum&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/N/Naotsugu/20221103/20221103194752.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2025-01-01 00:00:00</published>
  <title>Gradle の application プラグインでキーボード入力を受け付ける</title>
  <type>rich</type>
  <url>https://blog1.mammb.com/entry/2025/01/01/000000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
