iconsole-android/Application/build.gradle

71 lines
1.7 KiB
Groovy
Raw Normal View History

buildscript {
repositories {
jcenter()
2018-07-06 14:37:37 +02:00
maven {
url 'https://maven.google.com/'
name 'Google'
}
2019-05-12 15:58:02 +02:00
google()
}
dependencies {
2019-05-12 15:58:02 +02:00
classpath 'com.android.tools.build:gradle:3.4.0'
}
}
apply plugin: 'com.android.application'
repositories {
jcenter()
2018-07-06 14:37:37 +02:00
maven {
url 'https://maven.google.com/'
name 'Google'
}
}
dependencies {
2019-05-12 15:58:02 +02:00
implementation "com.android.support:gridlayout-v7:28.0.0"
implementation "com.android.support:cardview-v7:28.0.0"
implementation "com.android.support:appcompat-v7:28.0.0"
implementation 'com.android.support:support-v13:28.0.0'
implementation 'com.android.support.constraint:constraint-layout:1.1.3'
2018-07-09 13:40:54 +02:00
implementation project(':android_antlib_4-14')
}
2018-07-09 13:40:54 +02:00
// The sample build uses multiple directories to
// keep boilerplate and common code separate from
// the main sample code.
List<String> dirs = [
'main', // main sample code; look here for the interesting stuff.
'common', // components that are reused by multiple samples
'template'] // boilerplate code that is generated by the sample template process
android {
2018-07-06 14:37:37 +02:00
compileSdkVersion 28
defaultConfig {
2017-04-27 15:09:59 +02:00
minSdkVersion 16
2018-07-06 14:37:37 +02:00
targetSdkVersion 28
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_7
targetCompatibility JavaVersion.VERSION_1_7
}
sourceSets {
main {
dirs.each { dir ->
java.srcDirs "src/${dir}/java"
res.srcDirs "src/${dir}/res"
}
}
androidTest.setRoot('tests')
androidTest.java.srcDirs = ['tests/src']
}
}