credit @srosinger3997During my over 5-year-long activity on Stack Overflow, I noticed that despite Gradle being a mature build tool that is settled on the market, some basic questions related to this technology are still recurring. Also, most of them are related to task, which is a basic unit of work in Gradle. Below are the most common issues connected with using task: … executes automatically… d
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 JVM language Gradle plugins. You can find a comprehensive introduction and overview to the Java Plugin in the Building Java Projects chapter. As indicated above, this plugin adds basic building blocks for working with JVM projects. Its feature set has been s
警告やフォーマッター等のeclipse設定を、個々人の設定に依存しない形で管理できるようにしてみた。 方針 基本的には、プロジェクト設定をgitに突っ込んでしまう gradleが生成するファイルはgitに入れず、各々でgradle eclipseを叩いてもらう classpathの設定値が環境ごとに異なる点への配慮 gradleでeclipse関連タスクを叩いた時の冪等性を保ちたい 以下、自分のGitHubより抜粋。 フォルダ構成 │ .checkstyle │ .classpath │ .fbprefs │ .gitignore │ .project │ build.gradle │ README.md │ ├─.settings │ checkstyle.xml │ findbugs.xml │ org.eclipse.core.resources.prefs │ org.eclips
I have a simple gradle project in my eclipse. I update the build.gradle to include a few apache http jars... dependencies { compile group: 'commons-collections', name: 'commons-collections', version: '3.2' compile 'org.apache.httpcomponents:httpclient:4.2.3' compile "org.apache.httpcomponents:httpmime:4.2.3" testCompile group: 'junit', name: 'junit', version: '4.+' } However in my code, where I re
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
antやmavenを使い倒した人には何でもないことなんだろうけれども便利だと思ったのでメモ。 あえてTomcat7を使用した。 まずは対象のTomcatサーバーに以下のURLでログインできるようにしておく。 ($TOMCAT_HOME/conf/tomcat-users.xmlを編集して、適当なロールとユーザーを追加する。) 以下のような設定を追記した。 ロール:manager ユーザー名・パスワード:manager-script tomcat-users.xml <?xml version='1.0' encoding='utf-8'?> <tomcat-users> <role rolename="manager"/> <user username="manager-script" password="manager-script" roles="manager"/> </tomcat
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く