タグ

Gradleに関するoinumeのブックマーク (6)

  • Getting Gradle dependencies in IntelliJ IDEA using Gradle build

    Grade build, even from inside IntelliJ IDEA does not put the dependencies into the "External Libraries" folder, so these classes don't show up as suggestions in the editor and when I manually add them as an import there is a compile error. How can I get IntelliJ to automatically incorporate the dependencies in my build.gradle file, for instance: compile 'com.google.code.gson:gson:1.7.2

    Getting Gradle dependencies in IntelliJ IDEA using Gradle build
  • The Java Plugin

    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

  • Gradle初心者によるGradle事始め - Qiita

    はじめに この記事はG*Advent Calendar(Groovy,Grails,Gradle,Spock...) Advent Calendar 2016 の22日目の記事です。 今回は、Gradleを使ってJavaのソースコードをコンパイルしてJARファイルにまとめてテストを実行するまでを書こうと思います。 (IDEに依存しないためにコンソールベースで記述しますのであしからず) Gradleとは? Gradleとは、Groovyで記述するビルド自動化システムです。 Javaで古くから使われていたAntやMavenはXMLで記述するのに対し、GradleはGroovyで記述できるため柔軟で強力なビルド自動化システムと言えます。 「規約によるビルド」 MavenやGradleは「規約によるビルド」システムと言われています。 一方、古くからあるmakeやAntは「手続き的なビルド」システム

    Gradle初心者によるGradle事始め - Qiita
  • JitPack | Publish JVM and Android libraries

    Add it in your root settings.gradle at the end of repositories: dependencyResolutionManagement { repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS) repositories { mavenCentral() maven { url 'https://jitpack.io' } } } Add it in your settings.gradle.kts at the end of repositories: dependencyResolutionManagement { repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS) repositories { m

    JitPack | Publish JVM and Android libraries
    oinume
    oinume 2015/04/06
    bintrayの競合?
  • 僕の考えた最強で平凡なbuild.gradle

    Android Gradle Plugin 入門 最近、俗にいうネイティブアプリの流れが社内で、巻き起こっているので 改めて Android Studioで使うGradleの説明をしていきたいと思います。 去年の「Android Advent Calendar 2013」で 「Gradleことはじめ」という記事を書きました もう、いまさら新規のAndroid開発環境において、Eclipse + antを使いはじめる人は居ないと思いますが 当時は、Android開発においてのスタンダードがEclipse + antでした。 もう、Eclipseなんていう負の遺産は捨てて、Android Studioに移行しましょう。 Android Studioの良さは、今回は語り尽くせないので、他の方の記事を参考してください 僕がEclipseをやめてAndroid Studioを使っている10の理由 で

  • Java Persistence API (JPA) 実践入門 - ひだまりソケットは壊れない

    この記事は Java EE Advent Calendar 2013 の 24 日目の記事です。 昨日は nabedge さんの 「JAX-RSのビューとしてMixer2を使ってみる」 でした。 明日は eller86 さんの 「ウェブアプリケーションサーバでよくあるクラスローダのトラブル」 です! 概要 これから Java Persistence API (JPA) を使ってみようとしている人向けの、JPA の簡単な使い方や IDE の機能の紹介などの話です。 私自身、最近 JPA を使い始めたのですが、日語の実践的な入門記事みたいなのが見当たらなくて苦労した (JPA の概念の説明記事は結構あって助かったのですが) ので、少しでも参考になればと思います。 IDE 関係の話は Eclipse ユーザー向けの説明になりますが、NetBeans でもだいたい似たようなことができるはずです。

    Java Persistence API (JPA) 実践入門 - ひだまりソケットは壊れない
  • 1