はてなブックマークアプリ

サクサク読めて、
アプリ限定の機能も多数!

アプリで開く

はてなブックマーク

  • はてなブックマークって?
  • アプリ・拡張の紹介
  • ユーザー登録
  • ログイン
  • Hatena

はてなブックマーク

トップへ戻る

  • 総合
    • 人気
    • 新着
    • IT
    • 最新ガジェット
    • 自然科学
    • 経済・金融
    • おもしろ
    • マンガ
    • ゲーム
    • はてなブログ(総合)
  • 一般
    • 人気
    • 新着
    • 社会ニュース
    • 地域
    • 国際
    • 天気
    • グルメ
    • 映画・音楽
    • スポーツ
    • はてな匿名ダイアリー
    • はてなブログ(一般)
  • 世の中
    • 人気
    • 新着
    • 新型コロナウイルス
    • 働き方
    • 生き方
    • 地域
    • 医療・ヘルス
    • 教育
    • はてな匿名ダイアリー
    • はてなブログ(世の中)
  • 政治と経済
    • 人気
    • 新着
    • 政治
    • 経済・金融
    • 企業
    • 仕事・就職
    • マーケット
    • 国際
    • はてなブログ(政治と経済)
  • 暮らし
    • 人気
    • 新着
    • カルチャー・ライフスタイル
    • ファッション
    • 運動・エクササイズ
    • 結婚・子育て
    • 住まい
    • グルメ
    • 相続
    • はてなブログ(暮らし)
    • 掃除・整理整頓
    • 雑貨
    • 買ってよかったもの
    • 旅行
    • アウトドア
    • 趣味
  • 学び
    • 人気
    • 新着
    • 人文科学
    • 社会科学
    • 自然科学
    • 語学
    • ビジネス・経営学
    • デザイン
    • 法律
    • 本・書評
    • 将棋・囲碁
    • はてなブログ(学び)
  • テクノロジー
    • 人気
    • 新着
    • IT
    • セキュリティ技術
    • はてなブログ(テクノロジー)
    • AI・機械学習
    • プログラミング
    • エンジニア
  • おもしろ
    • 人気
    • 新着
    • まとめ
    • ネタ
    • おもしろ
    • これはすごい
    • かわいい
    • 雑学
    • 癒やし
    • はてなブログ(おもしろ)
  • エンタメ
    • 人気
    • 新着
    • スポーツ
    • 映画
    • 音楽
    • アイドル
    • 芸能
    • お笑い
    • サッカー
    • 話題の動画
    • はてなブログ(エンタメ)
  • アニメとゲーム
    • 人気
    • 新着
    • マンガ
    • Webマンガ
    • ゲーム
    • 任天堂
    • PlayStation
    • アニメ
    • バーチャルYouTuber
    • オタクカルチャー
    • はてなブログ(アニメとゲーム)
    • はてなブログ(ゲーム)
  • おすすめ

    WWDC25

『gradle.monochromeroad.com』

  • 人気
  • 新着
  • すべて
  • 第13章 ビルドスクリプトの記述

    3 users

    gradle.monochromeroad.com

    This chapter looks at some of the details of writing a build script. 本章では、ビルドスクリプトの記述についてもう少し詳しく見ていきます。 Gradle provides a domain specific language, or DSL, for describing builds. This build language is based on Groovy, with some additions to make it easier to describe a build. Gradleは、ビルドシステムを記述するためのドメイン特化言語(DSL)を提供します。 このビルド用言語は、Groovyをベースに、ビルドシステムの記述を簡単にするための機能をいくつか追加したものです。 A build script can c

    • テクノロジー
    • 2017/10/17 16:55
    • Gradle
    • 第15章 タスク詳解

      3 users

      gradle.monochromeroad.com

      In the introductory tutorial (6章ビルドスクリプトの基本) you learned how to create simple tasks. You also learned how to add additional behavior to these tasks later on, and you learned how to create dependencies between tasks. This was all about simple tasks, but Gradle takes the concept of tasks further. Gradle supports enhanced tasks, which are tasks that have their own properties and methods. This is real

      • 暮らし
      • 2017/07/27 11:37
      • 第16章 ファイルを取り扱う

        5 users

        gradle.monochromeroad.com

        You can locate a file relative to the project directory using the Project.file() method. Project.file() メソッドで、プロジェクトディレクトリからの相対参照でファイルを取得できます。 build.gradle // Using a relative path File configFile = file('src/config.xml') // Using an absolute path configFile = file(configFile.absolutePath) // Using a File object with a relative path configFile = file(new File('src/config.xml')) You can pass any ob

        • テクノロジー
        • 2016/03/15 16:42
        • Gradle
        • Project - Gradle DSL Version 2.2-20140924021627+0000

          5 users

          gradle.monochromeroad.com

          This interface is the main API you use to interact with Gradle from your build file. From a Project, you have programmatic access to all of Gradle's features. このインターフェースは、ビルドファイル内でGradleとやりとりする際、メインで使用するAPIです。Projectから、Gradleの全ての機能にプログラム的にアクセスできます。 There is a one-to-one relationship between a Project and a build.gradle file. During build initialisation, Gradle assembles a Project object for each p

          • テクノロジー
          • 2015/05/16 17:58
          • gradle
          • reference
          • 第23章 Javaプラグイン

            13 users

            gradle.monochromeroad.com

            The Java plugin adds Java compilation along with testing and bundling capabilities to a project. It serves as the basis for many of the other Gradle plugins. Javaプラグインは、プロジェクトにJavaのコンパイル、テスト、そしてビルド能力を与えます。このプラグインは、他の多くのGradleプラグインの基礎となっています。

            • テクノロジー
            • 2015/03/03 13:39
            • Gradle
            • Java
            • 開発
            • 第14章 色々なチュートリアル

              4 users

              gradle.monochromeroad.com

              There is a common situation where multiple tasks depend on the existence of a directory. Of course you can deal with this by adding a mkdir to the beginning of those tasks, but it's almost always a bad idea to repeat a sequence of code that you only need once (Look up the DRY principle). A better solution would use the dependsOn relationship between tasks to reuse the task to create the directory:

              • 世の中
              • 2014/12/29 13:03
              • 付録D Gradle コマンドラインGradle Command Line

                6 users

                gradle.monochromeroad.com

                The gradle コマンドには次の使用方法があります:command has the following usage: コマンドライン・オプションは下記のgradleコマンドリストに示されている物が利用可能です。 The command-line options available for the gradle command are listed below: -?, -h, --help Shows a help message. ヘルプのメッセージを参照 -a, --no-rebuild Do not rebuild project dependencies. プロジェクトの依存関係をリビルドしません。 --all Shows additional detail in the task listing. See 「タスクの一覧Listing tasks」. タスク実行時の応答の詳

                • テクノロジー
                • 2014/12/18 13:51
                • 第11章 Gradleのコマンドラインを使う

                  4 users

                  gradle.monochromeroad.com

                  This chapter introduces the basics of the Gradle command-line. You run a build using the gradle command, which you have already seen in action in previous chapters. 本章では、Gradleのコマンドラインについて基本的な部分を紹介します。これまで動かしてきたように、Gradleのビルドはgradleコマンドで実行します。 You can execute multiple tasks in a single build by listing each of the tasks on the command-line. For example, the command gradle compile test will execute

                  • テクノロジー
                  • 2014/05/16 09:22
                  • Gradle
                  • 第8章 依存関係管理の基本

                    14 users

                    gradle.monochromeroad.com

                    This chapter introduces some of the basics of dependency management in Gradle. 本章では、Gradleにおける依存関係の管理について、基本的なところを紹介します。 Very roughly, dependency management is made up of two pieces. Firstly, Gradle needs to know about the things that your project needs to build or run, in order to find them. We call these incoming files the dependencies of the project. Secondly, Gradle needs to build and upload t

                    • テクノロジー
                    • 2014/02/24 01:19
                    • Gradle
                    • Android
                    • ブックマーク バー
                    • 第57章 マルチプロジェクトのビルド

                      3 users

                      gradle.monochromeroad.com

                      The powerful support for multi-project builds is one of Gradle's unique selling points. This topic is also the most intellectually challenging. マルチプロジェクトはビルドツールの知恵の絞りどころであり、とてもやりがいのあるテーマです。Gradleはマルチプロジェクトを強力にサポートしていて、ユニークなセールスポイントの一つとなっています。 A multi-project build in gradle consists of one root project, and one or more subprojects that may also have subprojects. While each subproject could configu

                      • テクノロジー
                      • 2013/10/10 11:05
                      • 第20章 ビルド環境

                        7 users

                        gradle.monochromeroad.com

                        20.1. gradle.propertiesを使用したビルド環境の構築Configuring the build environment via gradle.properties Gradle provides several options that make it easy to configure the Java process that will be used to execute your build. While it's possible to configure these in your local environment via GRADLE_OPTS or JAVA_OPTS, certain settings like JVM memory settings, Java home, daemon on/off can be more useful if th

                        • テクノロジー
                        • 2013/10/01 20:47
                        • 第62章 Gradleラッパー

                          13 users

                          gradle.monochromeroad.com

                          The Gradle Wrapper (henceforth referred to as the “wrapper”) is the preferred way of starting a Gradle build. The wrapper is a batch script on Windows, and a shell script for other operating systems. When you start a Gradle build via the wrapper, Gradle will be automatically downloaded and used to run the build. Gradleラッパー(以後ラッパーとします)は、Gradleのビルドを実行する方法として推奨されているものです。 ラッパーは、バッチスクリプト(Windows用)とシェルス

                          • エンタメ
                          • 2013/06/25 09:59
                          • gradle
                          • □201306
                          • 第7章 Javaクイックスタート

                            4 users

                            gradle.monochromeroad.com

                            As we have seen, Gradle is a general-purpose build tool. It can build pretty much anything you care to implement in your build script. Out-of-the-box, however, it doesn't build anything unless you add code to your build script to do so. ここまで見てきたように、Gradleは汎用のビルドツールです。ビルドスクリプトで実装したいと思うようなものはほぼ何でもビルドできます。しかし、初期状態では、ビルドスクリプトに何かを行うためのコードを追加しない限り、何もビルドはしません。 Most Java projects are pretty similar as far

                            • テクノロジー
                            • 2013/05/18 23:30
                            • gradle
                            • Java
                            • 第59章 カスタムプラグインの作成

                              4 users

                              gradle.monochromeroad.com

                              There are several places where you can put the source for the plugin. プラグインのソースを配置できる場所はいくつかあります。 ビルドスクリプトBuild scriptYou can include the source for the plugin directly in the build script. This has the benefit that the plugin is automatically compiled and included in the classpath of the build script without you having to do anything. However, the plugin is not visible outside the build script, a

                              • テクノロジー
                              • 2013/04/24 11:01
                              • gradle
                              • plugin
                              • Gradle 日本語ドキュメント PDF版

                                7 users

                                gradle.monochromeroad.com

                                • テクノロジー
                                • 2013/02/20 01:52
                                • Gradle User Guide

                                  28 users

                                  gradle.monochromeroad.com

                                  Copies of this document may be made for your own use and for distribution to others, provided that you do not charge any fee for such copies and further provided that each copy contains this Copyright Notice, whether distributed in print or electronically. このドキュメントは、個人利用目的および第三者に配布するためにコピーして使用できます。ただし、印刷するにせよ電子媒体を使用するにせよ、以下の点に留意してください。どのような形態であれ使用料を課さないこと。また、このコピーライト条項を配布物に含めること。 例目次 6.1. 初めてのビルドス

                                  • テクノロジー
                                  • 2012/11/14 17:43
                                  • gradle
                                  • java
                                  • 日本語
                                  • Groovy
                                  • 第6章 ビルドスクリプトの基本

                                    14 users

                                    gradle.monochromeroad.com

                                    Everything in Gradle sits on top of two basic concepts: projects and tasks. Gradleの根本にあるのは、プロジェクトとタスクという二つの基本的な概念です。 Every Gradle build is made up of one or more projects. What a project represents depends on what it is that you are doing with Gradle. For example, a project might represent a library JAR or a web application. It might represent a distribution ZIP assembled from the JARs produced by

                                    • テクノロジー
                                    • 2012/11/09 17:13
                                    • Gradle
                                    • 第45章 アプリケーション プラグイン

                                      4 users

                                      gradle.monochromeroad.com

                                      The Gradle application plugin extends the language plugins with common application related tasks. It allows running and bundling applications for the jvm. Gradle アプリケーション プラグインは言語プラグインを一般的なアプリケーションの関連タスクで拡張しています。 JVM 用アプリケーションの実行 及び ビルドが可能です。

                                      • テクノロジー
                                      • 2012/10/11 09:14
                                      • あとで読む
                                      • 第60章 ビルドロジックの体系化

                                        3 users

                                        gradle.monochromeroad.com

                                        Gradle offers a variety of ways to organize your build logic. First of all you can put your build logic directly in the action closure of a task. If a couple of tasks share the same logic you can extract this logic into a method. If multiple projects of a multi-project build share some logic you can define this method in the parent project. If the build logic gets too complex for being properly mo

                                        • テクノロジー
                                        • 2012/09/23 14:21
                                        • Gradle
                                        • あとで読む
                                        • Gradle 日本語ドキュメント

                                          88 users

                                          gradle.monochromeroad.com

                                          ※ 本ページは、Gradle - Documentationを翻訳したものです。 Gradleプロジェクトは、ドキュメントの品質を高めるよう日々努めています。 ドキュメント自身、Gradleによりビルドされており、すべてのコードスニペットおよびサンプルは、Gradleのコードベースが変更されるたびに自動的にテストされ、常に正しく保たれると同時に最新版の内容が反映されるようになっています。 ユーザーガイド ユーザーガイド (分割版HTML、1ページ統合版HTML、PDF)では、Gradleのコンセプト、機能、コアプラグインについて詳細に記述されています。 チュートリアルで基本的なタスクの動作を体験したり、インストール方法を知ることもできます。 もちろん、オライリーのGradleシリーズも忘れずにチェックしてください。 リファレンス資料 リファレンスとして最初に参照するべきドキュメントは、DS

                                          • テクノロジー
                                          • 2012/08/25 15:53
                                          • gradle
                                          • java
                                          • 日本語
                                          • リファレンス
                                          • ドキュメント
                                          • ビルドツール
                                          • reference
                                          • ビルド
                                          • ref
                                          • document
                                          • 依存関係の管理 Dependency Management - Gradle

                                            14 users

                                            gradle.monochromeroad.com

                                            Dependency management is a critical feature of every build, and Gradle has placed an emphasis on offering first-class dependency management that is both easy-to-understand and compatible with a wide variety of approaches. If you are familiar with the approach used by either Maven or Ivy you will be delighted to learn that Gradle is fully compatible with both approaches in addition to being flexibl

                                            • テクノロジー
                                            • 2012/07/20 19:55
                                            • gradle
                                            • あとで読む
                                            • Gradle DSL Version 2.2-20140924021627+0000

                                              13 users

                                              gradle.monochromeroad.com

                                              Home はじめにいくつかの基本ビルドスクリプトの構造核となる型コンテナ型補助タスク型タスク型Eclipse/IDEAモデル型Eclipse/IDEAタスク型ネィティブバイナリの核となる型ネィティブバイナリタスク型ビルドスクリプトのブロックBuild script blocksallprojects { }artifacts { }buildscript { }configurations { }dependencies { }repositories { }sourceSets { }subprojects { }publishing { }Core typesProjectTaskGradleSettingsScriptJavaToolChainSourceSetSourceSetOutputIncrementalTaskInputsConfigurationResolutionStr

                                              • テクノロジー
                                              • 2012/07/02 11:29
                                              • gradle
                                              • programming
                                              • 第4章 Gradleのインストール

                                                4 users

                                                gradle.monochromeroad.com

                                                Gradle requires a Java JDK or JRE to be installed, version 6 or higher (to check, use java -version). Gradle ships with its own Groovy library, therefore Groovy does noot need to be installed. Any existing Groovy installation is ignored by Gradle. Gradleを使用するには、バージョン6以上のJava JDKもしくはJREが必要です(java -versionで確認してください)。 GradleにはGroovyライブラリが同梱されているので、別途Groovyをインストールする必要はありません。すでにインストールされていたとしても、Gradleでは

                                                • テクノロジー
                                                • 2012/06/29 23:42
                                                • java
                                                • Gradle 日本語ドキュメント

                                                  37 users

                                                  gradle.monochromeroad.com

                                                  ※ 本ページは、Gradle - Documentationを翻訳したものです。 Gradleプロジェクトは、ドキュメントの品質を高めるよう日々努めています。 ドキュメント自身、Gradleによりビルドされており、すべてのコードスニペットおよびサンプルは、Gradleのコードベースが変更されるたびに自動的にテストされ、常に正しく保たれると同時に最新版の内容が反映されるようになっています。 ユーザーガイド ユーザーガイド (分割版HTML、1ページ統合版HTML、PDF)では、Gradleのコンセプト、機能、コアプラグインについて詳細に記述されています。 チュートリアルで基本的なタスクの動作を体験したり、インストール方法を知ることもできます。 もちろん、オライリーのGradleシリーズも忘れずにチェックしてください。 リファレンス資料 リファレンスとして最初に参照するべきドキュメントは、DS

                                                  • テクノロジー
                                                  • 2012/06/15 13:06
                                                  • gradle
                                                  • groovy
                                                  • リファレンス
                                                  • Java
                                                  • 資料
                                                  • Tool
                                                  • 技術
                                                  • Gradle User Guide

                                                    91 users

                                                    gradle.monochromeroad.com

                                                    Copies of this document may be made for your own use and for distribution to others, provided that you do not charge any fee for such copies and further provided that each copy contains this Copyright Notice, whether distributed in print or electronically. このドキュメントは、個人利用目的および第三者に配布するためにコピーして使用できます。ただし、印刷するにせよ電子媒体を使用するにせよ、以下の点に留意してください。どのような形態であれ使用料を課さないこと。また、このコピーライト条項を配布物に含めること。 例目次 6.1. 初めてのビルドス

                                                    • テクノロジー
                                                    • 2012/06/13 14:20
                                                    • gradle
                                                    • groovy
                                                    • java
                                                    • android
                                                    • Build
                                                    • 開発
                                                    • TOOL
                                                    • 資料
                                                    • reference

                                                    このページはまだ
                                                    ブックマークされていません

                                                    このページを最初にブックマークしてみませんか?

                                                    『gradle.monochromeroad.com』の新着エントリーを見る

                                                    キーボードショートカット一覧

                                                    j次のブックマーク

                                                    k前のブックマーク

                                                    lあとで読む

                                                    eコメント一覧を開く

                                                    oページを開く

                                                    はてなブックマーク

                                                    • 総合
                                                    • 一般
                                                    • 世の中
                                                    • 政治と経済
                                                    • 暮らし
                                                    • 学び
                                                    • テクノロジー
                                                    • エンタメ
                                                    • アニメとゲーム
                                                    • おもしろ
                                                    • アプリ・拡張機能
                                                    • 開発ブログ
                                                    • ヘルプ
                                                    • お問い合わせ
                                                    • ガイドライン
                                                    • 利用規約
                                                    • プライバシーポリシー
                                                    • 利用者情報の外部送信について
                                                    • ガイドライン
                                                    • 利用規約
                                                    • プライバシーポリシー
                                                    • 利用者情報の外部送信について

                                                    公式Twitter

                                                    • 公式アカウント
                                                    • ホットエントリー

                                                    はてなのサービス

                                                    • はてなブログ
                                                    • はてなブログPro
                                                    • 人力検索はてな
                                                    • はてなブログ タグ
                                                    • はてなニュース
                                                    • ソレドコ
                                                    • App Storeからダウンロード
                                                    • Google Playで手に入れよう
                                                    Copyright © 2005-2025 Hatena. All Rights Reserved.
                                                    設定を変更しましたx