7
8

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

複数の画像を選択する便利なライブラリ Laevatein を Android Studio に導入するための設定 Gradle まわり

Last updated at Posted at 2014-04-21

Android Studio 及び Gradle は良くわからないので、間違っていたら教えてください。m(__)m

Gradle まわりの設定がメインです

github から取得する

自分のプロジェクトの中に modules/laevatein というフォルダをつくってそこに git clone

hoge/modules/laevatein > git clone git@github.com:akiramuramatsu/Laevatein.git

プロジェクトの gradle まわりの設定

ルートにある settings.gradle に以下を追記

settings.gradle
include ':modules:laevatein:laevatein'

ルートにある build.gradle に以下を追記

build.gradle
allprojects {
    repositories {
        mavenCentral()
        maven { url 'https://raw.github.com/nohana/Amalgam/master/amalgam/repository/' }
        maven { url 'https://raw.github.com/KeithYokoma/CompoundContainers/master/repository/' }
        maven { url 'https://raw.github.com/mixi-inc/Android-Device-Compatibility/master/repository/' }
    }
}

project(':modules:laevatein:laevatein') {
    buildscript {
        repositories {
            mavenCentral()
        }
        dependencies {
            classpath 'com.android.tools.build:gradle:0.9.+'
        }
    }
}

app 以下の build.gradle に以下を追記

build.gradle
dependencies {
    compile project(':modules:laevatein:laevatein')
}

Laevaten とは?

以下参照

7
8
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
7
8

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?