コメント |
[[プロジェクト]]
@DIV
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:1.3.0'
@c:red(classpath "com.android.databinding:dataBinder:1.0-rc1")
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
jcenter()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
@END
[[モジュール]]
@DIV
apply plugin: 'com.android.application'
@c:red(apply plugin: 'com.android.databinding')
android {
compileSdkVersion 22
buildToolsVersion "22.0.0"
defaultConfig {
applicationId "sample.lightbox.webview1011"
minSdkVersion 22
targetSdkVersion 22
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
testCompile 'junit:junit:4.12'
compile 'com.android.support:appcompat-v7:22.2.1'
compile files('libs/gson-2.4.jar')
}
@END |