{"id":349896,"date":"2023-05-09T06:07:02","date_gmt":"2023-05-09T05:07:02","guid":{"rendered":"https:\/\/blog.jetbrains.com\/kotlin\/2023\/04\/kotlin-dsl-is-the-default-for-new-gradle-builds\/"},"modified":"2023-05-09T06:07:06","modified_gmt":"2023-05-09T05:07:06","slug":"kotlin-dsl-is-the-default-for-new-gradle-builds","status":"publish","type":"kotlin","link":"https:\/\/blog.jetbrains.com\/ja\/kotlin\/2023\/05\/kotlin-dsl-is-the-default-for-new-gradle-builds\/","title":{"rendered":"\u65b0\u3057\u3044 Gradle \u30d3\u30eb\u30c9\u3067 Kotlin DSL \u304c\u30c7\u30d5\u30a9\u30eb\u30c8\u306b"},"content":{"rendered":"<p>\u79c1\u305f\u3061\u306f\u69cb\u9020\u5316\u306b\u512a\u308c\u3001\u3088\u308a\u7ba1\u7406\u3057\u3084\u3059\u3044\u30d3\u30eb\u30c9\u3092\u8a18\u8ff0\u3067\u304d\u308b\u3088\u3046\u3001\u958b\u767a\u8005\u306e\u652f\u63f4\u306b\u5e38\u306b\u52aa\u3081\u3066\u304a\u308a\u307e\u3059\u3002 \u3053\u306e\u76ee\u6a19\u3092\u9054\u6210\u3059\u308b\u306b\u3042\u305f\u308a\u3001Gradle \u30d3\u30eb\u30c9\u30b9\u30af\u30ea\u30d7\u30c8\u3068\u30d7\u30e9\u30b0\u30a4\u30f3\u306e\u8a18\u8ff0\u306b Kotlin \u3092\u9069\u7528\u3059\u308b\u3053\u3068\u306f\u3054\u304f\u81ea\u7136\u306a\u3053\u3068\u3067\u3059\u3002 Kotlin \u306f\u3001DSL \u306e\u4f5c\u6210\u3068\u958b\u767a\u8005\u30a8\u30af\u30b9\u30da\u30ea\u30a8\u30f3\u30b9\u306e\u5927\u5e45\u306a\u6539\u826f\u3092\u65bd\u3059\u306e\u306b\u6700\u9069\u306a\u3001\u591a\u304f\u306e\u5f37\u529b\u306a\u6a5f\u80fd\u3092\u63d0\u4f9b\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u79c1\u305f\u3061\u306f\u521d\u3081\u3066 <a href=\"https:\/\/blog.jetbrains.com\/kotlin\/2016\/05\/gradle-meets-kotlin\/\" target=\"_blank\" rel=\"noreferrer noopener\">Kotlin \u304c Gradle \u306b\u5c0e\u5165<\/a>\u3055\u308c\u3066\u4ee5\u6765\u3001Gradle \u30e6\u30fc\u30b6\u30fc\u306b\u3068\u3063\u3066\u5186\u6ed1\u3067\u5feb\u9069\u306a\u30a8\u30af\u30b9\u30da\u30ea\u30a8\u30f3\u30b9\u3092\u5b9f\u73fe\u3059\u308b\u3053\u3068\u3092\u76ee\u6307\u3057\u3066\u591a\u304f\u306e\u4f5c\u696d\u306b\u53d6\u308a\u7d44\u3093\u3067\u304d\u307e\u3057\u305f\u3002 \u305d\u3057\u3066\u4eca\u65e5\u306f\u7686\u3055\u307e\u306b\u91cd\u8981\u306a\u304a\u77e5\u3089\u305b\u304c\u3042\u308a\u307e\u3059\u3002\u3053\u306e\u5ea6\u3001<strong><a title=\"https:\/\/blog.gradle.org\/kotlin-dsl-is-now-the-default-for-new-gradle-builds\" href=\"https:\/\/blog.gradle.org\/kotlin-dsl-is-now-the-default-for-new-gradle-builds\" target=\"_blank\" rel=\"noreferrer noopener\">Gradle \u304c Kotlin DSL \u3092\u65b0\u3057\u3044 Gradle \u30d3\u30eb\u30c9\u306e\u30c7\u30d5\u30a9\u30eb\u30c8\u306b\u6307\u5b9a<\/a><\/strong>\u3057\u305f\u3053\u3068\u304c\u767a\u8868\u3055\u308c\u307e\u3057\u305f\uff01 \u4eca\u5f8c\u306f Kotlin DSL \u304c\u30d7\u30e9\u30b0\u30a4\u30f3\u3068\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u306e\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u3068\u306a\u308a\u307e\u3059\u3002 \u7b2c\u4e00\u7d1a\u95a2\u6570\u3084\u62e1\u5f35\u30e1\u30bd\u30c3\u30c9\u306a\u3069\u306e\u30ea\u30c3\u30c1\u306a\u6a5f\u80fd\u306b\u3088\u308a\u3001Kotlin \u306f Gradle \u30b9\u30af\u30ea\u30d7\u30c8\u306e\u4f5c\u6210\u306b\u30d9\u30b9\u30c8\u306a\u8981\u7d20\u3092\u7dad\u6301\u3059\u308b\u3060\u3051\u3067\u306a\u304f\u3001\u305d\u308c\u3089\u3092\u3055\u3089\u306b\u6539\u5584\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p><!--more--><\/p>\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" loading=\"lazy\" class=\"wp-image-341259\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2023\/04\/header-Kotlin-for-Android-KTS-first-in-Android-Build-asset-2-2-2800x834.png\" alt=\"JetBrains\u3001Google\u3001\u304a\u3088\u3073 Gradle\u3001\u65b0\u3057\u3044 Gradle \u30d3\u30eb\u30c9\u3067 Kotlin DSL \u304c\u30c7\u30d5\u30a9\u30eb\u30c8\u306b\u306a\u3063\u305f\u3068\u767a\u8868\" width=\"2800\" height=\"834\" \/><\/figure>\n<blockquote class=\"wp-block-quote\">\n<p><em>\u300c<em>JetBrains\u3001Google\u3001\u304a\u3088\u3073 Gradle \u306e\u30b3\u30e9\u30dc\u30ec\u30fc\u30b7\u30e7\u30f3\u306b\u3088\u308a\u3001Kotlin DSL \u306f\u3055\u3089\u306b\u305d\u306e\u6210\u719f\u5ea6\u3092\u5897\u3057\u3001\u958b\u767a\u8005\u304c\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3067\u3055\u3089\u306b\u52b9\u7387\u3088\u304f\u4f7f\u3048\u308b\u30e6\u30fc\u30b6\u30fc\u30d5\u30ec\u30f3\u30c9\u30ea\u30fc\u306a\u30c4\u30fc\u30eb\u306b\u306a\u308a\u307e\u3057\u305f\u3002\u300d <\/em> ~ Gradle \u30c1\u30fc\u30e0<\/em><\/p>\n<\/blockquote>\n<p>\u307e\u305f\u3001Google \u306f <a title=\"https:\/\/android-developers.googleblog.com\/2023\/04\/kotlin-dsl-is-now-default-for-new-gradle-builds.html\" href=\"https:\/\/android-developers.googleblog.com\/2023\/04\/kotlin-dsl-is-now-default-for-new-gradle-builds.html\" target=\"_blank\" rel=\"noreferrer noopener\">Kotlin DSL \u304c Android \u30a2\u30d7\u30ea\u306e Gradle \u30d3\u30eb\u30c9\u30d5\u30a1\u30a4\u30eb\u7528\u306e\u30c7\u30d5\u30a9\u30eb\u30c8\u30b9\u30af\u30ea\u30d7\u30c8\u3067\u3042\u308b<\/a>\u3053\u3068\u3092\u8868\u660e\u3057\u307e\u3057\u305f\u3002<\/p>\n<p>Google\u3001Gradle\u3001\u304a\u3088\u3073 JetBrains \u306f\u5f15\u304d\u7d9a\u304d\u7dca\u5bc6\u306a\u30b3\u30e9\u30dc\u30ec\u30fc\u30b7\u30e7\u30f3\u3092\u901a\u3058\u3066\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u30b9\u30bf\u30a4\u30eb\u3092\u7d71\u4e00\u5316\u3057\u3001\u30a4\u30c7\u30a3\u30aa\u30e0\u3092\u5b9a\u7fa9\u3059\u308b\u610f\u5411\u3067\u3059\u3002\u3053\u306e\u3088\u3046\u306a\u53d6\u308a\u7d44\u307f\u306b\u3088\u308a\u3001\u6700\u7d42\u7684\u306b\u306f\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u306e\u54c1\u8cea\u304c\u6539\u5584\u3055\u308c\u308b\u3053\u3068\u304c\u671f\u5f85\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001Gradle \u30b9\u30af\u30ea\u30d7\u30c8\u3092\u8a18\u8ff0\u3059\u308b\u305f\u3081\u306e Kotlin DSL \u306e\u4e3b\u306a\u30e1\u30ea\u30c3\u30c8\u3092\u3044\u304f\u3064\u304b\u8aac\u660e\u3057\u3001IDE \u306b\u304a\u3051\u308b build.gradle.kts \u30d5\u30a1\u30a4\u30eb\u306e\u65e2\u5b58\u306e\u30b5\u30dd\u30fc\u30c8\u6a5f\u80fd\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n<h2 class=\"wp-block-heading\">Groovy \u306b\u4ee3\u308f\u3063\u3066 Kotlin DSL \u3092\u9078\u629e\u3059\u308b\u30e1\u30ea\u30c3\u30c8<\/h2>\n<p>\u3055\u307e\u3056\u307e\u306a\u8a00\u8a9e\u304b\u3089 1 \u3064\u306e\u8a00\u8a9e\u3092\u9078\u629e\u3059\u308b\u7406\u7531\u306f\u958b\u767a\u8005\u306b\u3088\u3063\u3066\u7570\u306a\u308b\u304b\u3068\u601d\u3044\u307e\u3059\u3002 \u4ee5\u4e0b\u306e\u30bb\u30af\u30b7\u30e7\u30f3\u3067\u306f\u3001Kotlin \u306e\u4e3b\u306a\u5f37\u307f\u3068\u305d\u308c\u304c Gradle \u30d3\u30eb\u30c9\u30b9\u30af\u30ea\u30d7\u30c8\u3068\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u8a18\u8ff0\u3059\u308b\u306e\u306b\u9069\u3057\u3066\u3044\u308b\u7406\u7531\u3092\u7d39\u4ecb\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>Android \u306e Gradle \u30d3\u30eb\u30c9\u30d5\u30a1\u30a4\u30eb\u3092 Grooby \u304b\u3089 Kotlin \u306b\u3059\u308b\u304b\u307e\u3060\u8ff7\u308f\u308c\u3066\u3066\u3044\u308b\u65b9\u306f\u3001\u4ee5\u4e0b\u306e Kotlin \u3092\u4f7f\u7528\u3059\u308b 4 \u3064\u306e\u4e3b\u306a\u30e1\u30ea\u30c3\u30c8\u3092\u53c2\u8003\u306b\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>1. <strong>\u30b3\u30f3\u30d1\u30a4\u30eb\u6642\u306e\u30c1\u30a7\u30c3\u30af<\/strong><\/p>\n<p>2 \u3064\u306e\u8a00\u8a9e\u306e\u5927\u304d\u306a\u9055\u3044\u306f\u3001Groovy \u304c\u52d5\u7684\u8a00\u8a9e\u3067\u3042\u308b\u306e\u306b\u5bfe\u3057\u3001Kotlin \u306f\u9759\u7684\u578b\u4ed8\u3051\u8a00\u8a9e\u3067\u3042\u308b\u3053\u3068\u3067\u3059\u3002 \u3064\u307e\u308a\u3001Kotlin DSL \u304c\u4f7f\u7528\u3055\u308c\u308b\u5834\u5408\u3001\u30d3\u30eb\u30c9\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u30a8\u30e9\u30fc\u306f\u5b9f\u884c\u6642\u3067\u306f\u306a\u304f\u30b3\u30f3\u30d1\u30a4\u30eb\u6642\u306b\u767a\u751f\u3059\u308b\u3053\u3068\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u52d5\u7684\u306a\u578b\u30c1\u30a7\u30c3\u30af\u306e\u5834\u5408\u3001\u30a8\u30e9\u30fc\u306f\u30d3\u30eb\u30c9\u30b9\u30af\u30ea\u30d7\u30c8\u304c\u5b9f\u884c\u3055\u308c\u308b\u307e\u3067\u691c\u51fa\u3055\u308c\u307e\u305b\u3093\u3002 \u30b3\u30f3\u30d1\u30a4\u30eb\u6642\u30a8\u30e9\u30fc\u306e\u5834\u5408\u306f\u3001\u305d\u308c\u3088\u308a\u3082\u524d\u306e\u6642\u70b9\u3067\u554f\u984c\u3092\u4fee\u6b63\u3059\u308b\u30c1\u30e3\u30f3\u30b9\u304c\u3042\u308a\u307e\u3059\u3002 \u3055\u3089\u306b\u3001IDE \u3067\u4f5c\u696d\u4e2d\u306f\u30a8\u30c7\u30a3\u30bf\u30fc\u306b\u3088\u3063\u3066\u30a8\u30e9\u30fc\u3092\u30cf\u30a4\u30e9\u30a4\u30c8\u3067\u304d\u307e\u3059\u3002 \u3053\u308c\u306f\u3001\u305f\u3068\u3048\u3070 `application` \u3067\u306f\u306a\u304f\u69cb\u6210\u540d `applications` \u3092\u53c2\u7167\u3057\u3088\u3046\u3068\u3059\u308b\u969b\u306b\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002<\/p>\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" loading=\"lazy\" class=\"wp-image-341270\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2023\/04\/Error.png\" alt=\"Kotlin DSL \u304c\u4f7f\u7528\u3055\u308c\u308b\u5834\u5408\u3001\u30d3\u30eb\u30c9\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u30a8\u30e9\u30fc\u306f\u30b3\u30f3\u30d1\u30a4\u30eb\u6642\u306b\u767a\u751f\u3057\u306a\u3044\" width=\"1304\" height=\"346\" \/><\/figure>\n<p>2. <strong>\u3088\u308a\u512a\u308c\u305f IDE \u4f53\u9a13<\/strong><\/p>\n<p>\u30b3\u30fc\u30c9\u306b\u95a2\u3059\u308b\u30bb\u30de\u30f3\u30c6\u30a3\u30c3\u30af\u60c5\u5831\u304c\u3088\u308a\u591a\u3044\u305f\u3081\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a IDE \u306e\u6a5f\u80fd\u3092\u6700\u5927\u9650\u306b\u6d3b\u7528\u3067\u304d\u307e\u3059\u3002<\/p>\n<ul>\n<li>\u81ea\u52d5\u88dc\u5b8c\u3068\u30b3\u30f3\u30c6\u30f3\u30c4\u30a2\u30b7\u30b9\u30bf\u30f3\u30c8<\/li>\n<\/ul>\n<ul>\n<li>\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u306e\u79fb\u52d5\u64cd\u4f5c<\/li>\n<\/ul>\n<ul>\n<li>\u30ea\u30d5\u30a1\u30af\u30bf\u30ea\u30f3\u30b0<\/li>\n<\/ul>\n<p>\u3053\u308c\u307e\u3067\u306e\u3068\u3053\u308d\u3001Kotlin \u306e\u7d71\u5408\u304c\u6700\u3082\u9032\u3093\u3067\u3044\u308b\u306e\u306f IntelliJ IDEA \u3068 Android Studio \u3067\u3059\u3002 \u305f\u3060\u3057\u3001Kotlin DSL \u30d9\u30fc\u30b9\u306e\u30d3\u30eb\u30c9\u3092\u5225\u306e IDE \u3067\u30a4\u30f3\u30dd\u30fc\u30c8\u3057\u3066\u4f5c\u696d\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002 Gradle \u306e\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3067\u306f\u3001<a href=\"https:\/\/docs.gradle.org\/current\/userguide\/kotlin_dsl.html#sec:ide_support\" target=\"_blank\" rel=\"noreferrer noopener\">Kotlin DSL \u306e IDE \u30b5\u30dd\u30fc\u30c8\u30de\u30c8\u30ea\u30af\u30b9<\/a>\u3092\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>3. <strong>\u5358\u7d14\u5316\u3055\u308c\u305f\u5ba3\u8a00\u7684\u30d7\u30e9\u30b0\u30a4\u30f3\u69cb\u6587<\/strong><\/p>\n<p>Kotlin DSL \u306f\u5f93\u6765\u306e Groovy DSL \u306e\u4ee3\u66ff\u69cb\u6587\u3092\u63d0\u4f9b\u3057\u3066\u304a\u308a\u3001\u30b3\u30a2 Kotlin \u8a00\u8a9e\u3068\u540c\u3058\u30e1\u30ea\u30c3\u30c8\u304c\u5099\u308f\u3063\u3066\u3044\u307e\u3059\u3002 2 \u3064\u306e\u8a00\u8a9e\u3092\u6bd4\u8f03\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>Gradle \u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306b\u9069\u7528\u3059\u308b\u969b\u306b\u306f\u3001\u30d7\u30e9\u30b0\u30a4\u30f3 ID \u306e\u307f\u3092\u6307\u5b9a\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002 \u305f\u3068\u3048\u3070\u3001Groovy DSL \u3067 `application` \u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u6307\u5b9a\u3059\u308b\u5834\u5408\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" loading=\"lazy\" class=\"wp-image-341281\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2023\/04\/Groovy.png\" alt=\"Groovy DSL \u3067\u306e\u30d7\u30e9\u30b0\u30a4\u30f3 ID \u306e\u6307\u5b9a\" width=\"1104\" height=\"126\" \/><\/figure>\n<p>Kotlin DSL \u306e\u69cb\u6587\u306f\u5358\u7d14\u5316\u3055\u308c\u3066\u3044\u308b\u305f\u3081\u3001Kotlin \u3067\u5165\u529b\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u306e\u306f \u201capplication\u201d \u306e\u307f\u3067\u3059\u3002<\/p>\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" loading=\"lazy\" class=\"wp-image-341292\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2023\/04\/Screenshot-2023-03-14-at-3.32.44-PM.png\" alt=\"Kotlin DSL \u3067\u306e\u30d7\u30e9\u30b0\u30a4\u30f3 ID \u306e\u6307\u5b9a\" width=\"1188\" height=\"264\" \/><\/figure>\n<p>\u524d\u8ff0\u306e\u3088\u3046\u306b\u3001\u5b58\u5728\u3057\u306a\u3044\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u9069\u7528\u3057\u3088\u3046\u3068\u3059\u308b\u3068\u3001IDE \u3067\u69cb\u6587\u30a8\u30e9\u30fc\u304c\u6307\u6458\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>4. <strong>\u62e1\u5927\u3057\u7d9a\u3051\u308b Kotlin \u958b\u767a\u8005\u30b3\u30df\u30e5\u30cb\u30c6\u30a3<\/strong><\/p>\n<p>Kotlin \u306b\u306f\u8a00\u8a9e\u3068\u30e9\u30a4\u30d6\u30e9\u30ea\u306b\u8ca2\u732e\u3057\u3066 Gradle \u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u63d0\u4f9b\u3059\u308b\u5927\u898f\u6a21\u3067\u6d3b\u767a\u306a\u958b\u767a\u8005\u30b3\u30df\u30e5\u30cb\u30c6\u30a3\u304c\u5b58\u5728\u3057\u307e\u3059\u3002<\/p>\n<p>\u30b3\u30df\u30e5\u30cb\u30c6\u30a3\u306e\u62e1\u5927\u306b\u3088\u308a\u3001\u7d4c\u9a13\u8c4a\u304b\u306a\u958b\u767a\u8005\u3068 Kotlin \u3092\u4f7f\u3044\u59cb\u3081\u305f\u3070\u304b\u308a\u306e\u958b\u767a\u8005\u306e\u4e21\u65b9\u306b\u5f79\u7acb\u3064\u60c5\u5831\u304c\u8c4a\u5bcc\u306b\u7528\u610f\u3055\u308c\u3066\u3044\u307e\u3059\u3002 \u3053\u306e\u3088\u3046\u306a\u60c5\u5831\u306b\u306f Kotlin \u306e\u516c\u5f0f\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3001\u30d5\u30a9\u30fc\u30e9\u30e0\u3001\u30d6\u30ed\u30b0\u3001\u30bd\u30fc\u30b7\u30e3\u30eb\u30e1\u30c7\u30a3\u30a2\u306e\u30b9\u30ec\u30c3\u30c9\u3001\u30aa\u30f3\u30e9\u30a4\u30f3\u6559\u80b2\u30b3\u30fc\u30b9\u306a\u3069\u304c\u542b\u307e\u308c\u307e\u3059\u3002<\/p>\n<p>\u5f79\u306b\u7acb\u3064\u30ea\u30bd\u30fc\u30b9\u304c\u8c4a\u5bcc\u306b\u305d\u308d\u3063\u3066\u3044\u308b\u305f\u3081\u3001\u554f\u984c\u306e\u89e3\u6c7a\u7b56\u3092\u7c21\u5358\u306b\u767a\u898b\u3057\u3066\u30b9\u30ad\u30eb\u30a2\u30c3\u30d7\u3067\u304d\u307e\u3059\u3002<\/p>\n<h2 class=\"wp-block-heading\">Groovy \u304b\u3089 Kotlin DSL \u3078\u306e\u79fb\u884c<\/h2>\n<p>\u4e0a\u8a18\u306e\u3088\u3046\u306a\u30e1\u30ea\u30c3\u30c8\u3068\u5805\u7262\u306a\u6a5f\u80fd\u3092\u6301\u3064 Kotlin DSL \u306f\u751f\u7523\u6027\u3092\u9ad8\u3081\u3001\u9ad8\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u3092\u69cb\u7bc9\u3059\u308b\u306e\u306b\u6700\u9069\u306a\u9078\u629e\u80a2\u3067\u3059\u3002 \u65e2\u5b58\u306e Gradle \u30d3\u30eb\u30c9\u3092 Groovy \u304b\u3089 Kotlin DSL \u306b\u79fb\u884c\u3059\u308b\u5834\u5408\u306f\u3001<a href=\"https:\/\/docs.gradle.org\/current\/userguide\/migrating_from_groovy_to_kotlin_dsl.html#migrating_groovy_kotlin\" target=\"_blank\" rel=\"noreferrer noopener\">Gradle \u306e\u79fb\u884c\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb<\/a>\u3092\u3054\u89a7\u304f\u3060\u3055\u3044\u3002 \u307e\u305f\u3001Android \u958b\u767a\u8005\u5411\u3051\u306b\u306f <a href=\"https:\/\/developer.android.com\/studio\/build\/migrate-to-kts\" target=\"_blank\" rel=\"noreferrer noopener\">Android \u30a2\u30d7\u30ea\u306e Gradle \u30d3\u30eb\u30c9\u30d5\u30a1\u30a4\u30eb\u3092 Groovy \u304b\u3089 KTS \u306b\u5909\u63db<\/a>\u3059\u308b\u65b9\u6cd5\u306b\u95a2\u3059\u308b\u8a73\u7d30\u306a\u30ac\u30a4\u30c9\u304c\u7528\u610f\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>Gradle \u306f\u4eca\u5f8c\u3082 Groovy DSL \u3092\u30b5\u30dd\u30fc\u30c8\u3057\u307e\u3059\u3002 Gradle \u306f Groovy DSL \u3092\u4f7f\u7528\u3059\u308b\u8907\u96d1\u306a\u30d3\u30eb\u30c9\u30ed\u30b8\u30c3\u30af\u3092\u4f34\u3046\u5927\u898f\u6a21\u306a\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306b\u3064\u3044\u3066\u306f\u307e\u3060\u79fb\u884c\u3057\u306a\u3044\u3053\u3068\u3092\u63a8\u5968\u3057\u3066\u3044\u307e\u3059\u304c\u3001 Kotlin \u304c Gradle \u306e\u30c7\u30d5\u30a9\u30eb\u30c8\u306e DSL \u3068\u306a\u3063\u305f\u4eca\u3001Kotlin DSL \u306f\u3088\u308a\u5feb\u9069\u306b\u30d3\u30eb\u30c9\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u8a18\u8ff0\u3068\u7de8\u96c6\u3092\u884c\u3044\u305f\u3044\u3068\u8003\u3048\u3066\u3044\u308b Gradle \u30e6\u30fc\u30b6\u30fc\u306b\u3068\u3063\u3066\u306f\u308b\u304b\u306b\u6709\u76ca\u3067\u3042\u308b\u3068\u5f0a\u793e\u306f\u8003\u3048\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>JetBrains \u30c1\u30fc\u30e0\u306f\u4eca\u5f8c\u3082\u81ea\u793e\u306e\u30c6\u30af\u30ce\u30ed\u30b8\u30fc\u3092\u3055\u3089\u306b\u5f37\u5316\u3057\u3001\u52b9\u7387\u7684\u306a\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u958b\u767a\u3059\u308b\u305f\u3081\u306e\u6a5f\u80fd\u306e\u8c4a\u5bcc\u306a\u30c4\u30fc\u30eb\u3092\u30e6\u30fc\u30b6\u30fc\u306b\u63d0\u4f9b\u3057\u3066\u3044\u304f\u3053\u3068\u3092\u52aa\u3081\u3066\u307e\u3044\u308a\u307e\u3059\u3002<\/p>\n<p><strong>\u30aa\u30ea\u30b8\u30ca\u30eb\uff08\u82f1\u8a9e\uff09\u30d6\u30ed\u30b0\u6295\u7a3f\u8a18\u4e8b\u306e\u4f5c\u8005\uff1a<\/strong><\/p>\n\n    <div class=\"about-author \">\n        <div class=\"about-author__box\">\n            <div class=\"row\">\n                <div class=\"about-author__box-img\">\n                    <img decoding=\"async\" src=\"https:\/\/secure.gravatar.com\/avatar\/?s=200&#038;r=g\" width=\"200\" height=\"200\" alt=\"\" loading=\"lazy\"  class=\"avatar avatar-200 wp-user-avatar wp-user-avatar-200 photo avatar-default\">\n                <\/div>\n                <div class=\"about-author__box-text\">\n                                                        <\/div>\n            <\/div>\n        <\/div>\n    <\/div>\n","protected":false},"author":705,"featured_media":341884,"comment_status":"closed","ping_status":"closed","template":"","categories":[89],"tags":[1625,1738],"cross-post-tag":[],"acf":[],"_links":{"self":[{"href":"https:\/\/blog.jetbrains.com\/ja\/wp-json\/wp\/v2\/kotlin\/349896"}],"collection":[{"href":"https:\/\/blog.jetbrains.com\/ja\/wp-json\/wp\/v2\/kotlin"}],"about":[{"href":"https:\/\/blog.jetbrains.com\/ja\/wp-json\/wp\/v2\/types\/kotlin"}],"author":[{"embeddable":true,"href":"https:\/\/blog.jetbrains.com\/ja\/wp-json\/wp\/v2\/users\/705"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.jetbrains.com\/ja\/wp-json\/wp\/v2\/comments?post=349896"}],"version-history":[{"count":10,"href":"https:\/\/blog.jetbrains.com\/ja\/wp-json\/wp\/v2\/kotlin\/349896\/revisions"}],"predecessor-version":[{"id":349916,"href":"https:\/\/blog.jetbrains.com\/ja\/wp-json\/wp\/v2\/kotlin\/349896\/revisions\/349916"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.jetbrains.com\/ja\/wp-json\/wp\/v2\/media\/341884"}],"wp:attachment":[{"href":"https:\/\/blog.jetbrains.com\/ja\/wp-json\/wp\/v2\/media?parent=349896"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.jetbrains.com\/ja\/wp-json\/wp\/v2\/categories?post=349896"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.jetbrains.com\/ja\/wp-json\/wp\/v2\/tags?post=349896"},{"taxonomy":"cross-post-tag","embeddable":true,"href":"https:\/\/blog.jetbrains.com\/ja\/wp-json\/wp\/v2\/cross-post-tag?post=349896"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}