NI-Lab.
nilog
:
← 前の日
2023-01-26
次の日 →
← 一年前
一年後 →
Twitter (2023-01-26)
RT @Yahoo_weather:
【1月26日(木)】北日本や東?西日本の日本海側では雪が降るでしょう。北日本では大雪となる所もあり、猛吹雪などによる交通障害、暴風に警戒してください。
東~西日本の太平洋側はおおむね晴れますが、九州では夜から雨の降る所がありそうです。
最高気温は、全国的に平年より低い見込みです。
https://twitter.com/Yahoo_weather/status/1618346893834334208/photo/1
[t]
2023-01-26 06:14:31
関連するかも情報
RT @Yahoo_weather:
今朝も最低気温は広い範囲で氷点下となりそうです。東京や名古屋なども、きのう25日(水)と同じくらい冷え込みそうです。
引き続き、水道管の凍結などに注意が必要です。
朝の通勤・通学の際は防寒を万全にしてお出かけください。
[t]
2023-01-26 06:14:20
RT @Yahoo_weather:
【1月26日(木)】北日本や東?西日本の日本海側では雪が降るでしょう。北日本では大雪となる所もあり、猛吹雪などによる交通障害、暴風に警戒してください。
東~西日本の太平洋側はおおむね晴れますが、九州では夜から雨の降る所がありそうです。
最高気温は、全国的に平年より低い見込みです。
https://twitter.com/Yahoo_weather/status/1618346893834334208/photo/1
[t]
2023-01-26 06:14:31
RT @ichibanKUJI:
╭━━━━━╮
発売決定☕
╰━━v━━╯
「一番くじ #mofusand ~Classy Tea Time~」
2023年6月上旬発売予定!
一番くじ限定の描きおろしイラストです✨
続報をお楽しみに🐈
商品詳細👇
https://1kuji.com/products/mofusand?&utm_source=twitter&utm_medium=social&utm_campaign=mofusand
#ぢゅの
https://twitter.com/ichibanKUJI/status/1618081357334450177/photo/1
[t]
2023-01-26 06:19:25
RT @myojofoods_jp:
\EC限定!ちいかわのかわいいシール付き/
今だけのチャルメラ×ちいかわパッケージ!
しょうゆ3袋、宮崎辛麺3袋のアソートセットを発売します!
Amazon限定で、この商品の発売予定日は1月31日です。
お買い求めはお早めに!
#ちいかわ
#チャルメラ
#チャリメラ
https://amzn.asia/d/gNuAOaa
[t]
2023-01-26 06:21:53
発売前なのに高値つけてるマケプレ業者がいるので、ブロックする機能が欲しいな
Amazon | 【EC限定】 ちいかわ 3種のかわいいシール付き 「チャルメラ×ちいかわ」 コラボ デザイン パッケージ 2種アソート 6袋 (しょうゆ3袋・宮崎辛麺3袋) 【セット買い】 | 明星 | ラーメン
https://www.amazon.co.jp/dp/B0BS3B5696?tag=nilabnilog-22&linkCode=osi&th=1&psc=1
[t]
2023-01-26 06:29:32
build.gradle を Kotlin で書くために。
Gradle Kotlin DSL Primer
https://docs.gradle.org/current/userguide/kotlin_dsl.html
[t]
2023-01-26 06:49:00
ほんとそう。Gradle はなぜデフォ便利じゃないのか・・・
「なんでデフォルトで失敗したテストの情報を出してくれないんだっけ」
Gradle経由でのテスト実行時、コンソールに失敗したテストケースの情報を出力する - たごもりすメモ
https://tagomoris.hatenablog.com/entry/2021/04/22/105418
[t]
2023-01-26 06:51:56
書き方を学ぶ。
tasks.withType<JavaCompile> {
val compilerArgs = options.compilerArgs
compilerArgs.add("-Xdoclint:all,-missing")
compilerArgs.add("-Xlint:all")
}
Kotlin DSL equivalent for Groovy DSL compileJava.options.compilerArgs - Gradle Forums
https://discuss.gradle.org/t/kotlin-dsl-equivalent-for-groovy-dsl-compilejava-options-compilerargs/27086
[t]
2023-01-26 06:58:04
Kotlin build.gradle で bootRun タスクの設定を追加する方法がわからぬ・・
[t]
2023-01-26 07:02:16
Groovy build.gradle のときはこんな感じで書いてた。
bootRun {
jvmArgs = ['-Dspring.profiles.active=dev']
}
[t]
2023-01-26 07:03:29
このへんかな。
tasks.named<BootRun>("bootRun") {
mainClass.set("com.example.ExampleApplication")
}
Spring Boot Gradle プラグインリファレンスガイド - ドキュメント
https://spring.pleiades.io/spring-boot/docs/current/gradle-plugin/reference/htmlsingle/
[t]
2023-01-26 07:04:27
import org. springframework. boot. gradle. tasks. run. BootRun
BootRun クラスを import したほうがラクそう。
[t]
2023-01-26 07:06:01
Kotlin build.gradle だとこれでいいかな。
tasks.named<BootRun>("bootRun") {
jvmArgs = listOf("-Dspring .profiles .active=dev")
}
[t]
2023-01-26 07:08:32
tasks.withType と tasks.named のちがいがわからぬ
[t]
2023-01-26 07:15:39
Zip - Gradle DSL Version 7.6
https://docs.gradle.org/current/dsl/org.gradle.api.tasks.bundling.Zip.html
[t]
2023-01-26 07:28:57
destinationDirectory は DirectoryProperty インターフェースを実装していて、set メソッドで値をセットするらしい。
destinationDirectory.set(file(".."))
DirectoryProperty (Gradle API 7.6)
https://docs.gradle.org/current/javadoc/org/gradle/api/file/DirectoryProperty.html
[t]
2023-01-26 07:31:12
「mainClass = 'grs .App' が mainClass.set("kts .App") となっています」
Gradle Groovy DSL から Kotlin DSL への乗り換え方 - A Memorandum
https://blog1.mammb.com/entry/2020/11/14/090000
[t]
2023-01-26 07:32:12
「create() ではなく register() とすることで configuration avoidance となり、タスク実行時までその構成が遅延されます」
Gradle Groovy DSL から Kotlin DSL への乗り換え方 - A Memorandum
https://blog1.mammb.com/entry/2020/11/14/090000
[t]
2023-01-26 07:32:35
setOf と mutableSetOf
「不変 (immutable) なセットは、Kotlin 組み込みの setOf 関数で作成することができます」
コレクションの基本的な使い方 (List, Set, Map) - まくまくKotlinノート
https://maku77.github.io/kotlin/collection/basic.html
[t]
2023-01-26 07:39:19
参考になる。
Java開発者向けのKotlin Gradleビルドスクリプト入門 / Gradle Build Script in Kotlin 101 - Speaker Deck
https://speakerdeck.com/eller86/gradle-build-script-in-kotlin-101
[t]
2023-01-26 07:53:59
2023年01年26日のnilogをすべて表示する
- NI-Lab.'s accounts
-
Fedibird
-
mstdn.jp
-
Pawoo
-
Twitter(X)
-
はてなブックマーク
-
Timelog
-
NI-Lab.