Upgrade android SDK (#144)

This commit is contained in:
Rafał Borcz 2018-07-14 20:09:58 +02:00 committed by Mikołaj Pich
parent 378aba9716
commit b8a31c3faf
4 changed files with 21 additions and 24 deletions

View File

@ -7,7 +7,7 @@ references:
container_config: &container_config
docker:
- image: circleci/android:api-26-alpha
- image: circleci/android:api-27-alpha
working_directory: *workspace_root
environment:
environment:

View File

@ -5,7 +5,7 @@ sonarqube {
//noinspection GroovyAssignabilityCheck
properties {
def files = fileTree("${rootProject.projectDir}/api/build/libs/").filter { it.isFile() }.files.name
def libraries = project.android.sdkDirectory.getPath() + "/platforms/android-26/android.jar," +
def libraries = project.android.sdkDirectory.getPath() + "/platforms/android-27/android.jar," +
"${project.rootDir}/api/build/libs/" + files[0]
property "sonar.projectName", GROUP_ID + ":app"

View File

@ -1,3 +1,13 @@
apply plugin: 'org.greenrobot.greendao'
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-kapt' // sync warning probably caused by bug https://issuetracker.google.com/issues/74537216
apply plugin: 'io.fabric'
apply from: 'jacoco.gradle'
apply from: 'android-sonarqube.gradle'
apply plugin: 'com.google.gms.oss.licenses.plugin'
apply plugin: 'com.github.triplet.play'
buildscript {
repositories {
maven { url "https://plugins.gradle.org/m2/" }
@ -17,18 +27,8 @@ repositories {
maven { url 'https://maven.fabric.io/public' }
}
apply plugin: 'org.greenrobot.greendao'
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-kapt' // sync warning probably caused by bug https://issuetracker.google.com/issues/74537216
apply plugin: 'io.fabric'
apply from: 'jacoco.gradle'
apply from: 'android-sonarqube.gradle'
apply plugin: 'com.google.gms.oss.licenses.plugin'
apply plugin: 'com.github.triplet.play'
android {
compileSdkVersion 26
compileSdkVersion 27
buildToolsVersion '27.0.3'
playAccountConfigs {
@ -42,7 +42,7 @@ android {
applicationId "io.github.wulkanowy"
testApplicationId "io.github.tests.wulkanowy"
minSdkVersion 15
targetSdkVersion 26
targetSdkVersion 27
versionCode 14
versionName "0.5.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
@ -103,6 +103,7 @@ configurations.all {
dependencies {
implementation project(':api')
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
implementation "com.android.support:support-v4:$supportVersion"
implementation "com.android.support:design:$supportVersion"
implementation "com.android.support:cardview-v7:$supportVersion"
@ -119,7 +120,6 @@ dependencies {
implementation "com.aurelhubert:ahbottomnavigation:$ahbottom"
implementation "com.jakewharton.threetenabp:threetenabp:$threeTenABP"
implementation "com.google.android.gms:play-services-oss-licenses:$ossLicenses"
implementation "com.jakewharton.timber:timber:$timber"
implementation "at.favre.lib:slf4j-timber:$slf4jTimber"
@ -130,7 +130,6 @@ dependencies {
transitive = true
}
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
kapt "com.google.dagger:dagger-compiler:$dagger2"
kapt "com.google.dagger:dagger-android-processor:$dagger2"
kapt "com.jakewharton:butterknife-compiler:$butterknife"

View File

@ -36,13 +36,12 @@ subprojects {
ext {
GROUP_ID = "io.github.wulkanowy"
supportVersion = "26.1.0"
flexibleAdapter = "5.0.2"
flexibleUi = "1.0.0-b2"
supportVersion = "27.1.1"
flexibleAdapter = "5.0.5"
flexibleUi = "1.0.0-b5"
firebaseJob = "0.8.5"
apacheLang = "3.7"
apacheCollections = "4.1"
apacheCollections = "4.2"
greenDao = "3.2.2"
greenDaoHelper = "v2.0.2"
greenDaoGradle = "3.2.2"
@ -52,8 +51,7 @@ ext {
ahbottom = "2.2.0"
jsoup = "1.11.3"
gson = "2.8.5"
ossLicenses = "15.0.1"
ossLicenses = "16.0.0"
slf4jApi = "1.7.25"
slf4jTimber = "1.0.1"
timber = "4.7.1"
@ -61,7 +59,7 @@ ext {
debugDb = "1.0.4"
junit = "4.12"
mockito = "2.19.0"
mockito = "2.19.1"
testRunner = "1.0.2"
fabricGradle = "1.25.4"