Skip to content
This repository has been archived by the owner on Jan 29, 2023. It is now read-only.

Commit

Permalink
Update gradle dependencies (#361)
Browse files Browse the repository at this point in the history
* Update gradle dependencies

* Fix compilation issues
  • Loading branch information
vase4kin authored Oct 18, 2020
1 parent 86eeafa commit 260d5a4
Show file tree
Hide file tree
Showing 12 changed files with 28 additions and 25 deletions.
6 changes: 3 additions & 3 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -95,12 +95,12 @@ android {

// Fixing crash in androidTest
// java.lang.NoClassDefFoundError: Failed resolution of: Landroidx/databinding/DataBinderMapperImpl;java.lang.NoClassDefFoundError: Failed resolution of: Landroidx/databinding/DataBinderMapperImpl;
dataBinding {
enabled = true
buildFeatures {
dataBinding true
}

kotlinOptions {
jvmTarget = Config.javaVersion.toString()
jvmTarget = Config.KotlinOptions.jvmTarget
}
}

Expand Down
1 change: 0 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,6 @@ subprojects {
testOptions {
unitTests {
all {
includeAndroidResources = true
jvmArgs '-noverify'
testLogging {
events 'passed', 'skipped', 'failed', 'standardOut', 'standardError'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ object Config {
const val versionName = "1.52.3"
const val applicationId = "com.github.vase4kin.teamcityapp"
val javaVersion = JavaVersion.VERSION_1_8

object KotlinOptions {
const val jvmTarget = "1.8"
}
}

object Libs {
Expand Down Expand Up @@ -162,7 +166,7 @@ object Libs {
}

object Tools {
const val gradleAndroid = "com.android.tools.build:gradle:4.0.1"
const val gradleAndroid = "com.android.tools.build:gradle:4.1.0"
const val gradleversions = "com.github.ben-manes:gradle-versions-plugin:0.33.0"
const val androidAapt = "com.neenbedankt.gradle.plugins:android-apt:1.8"
const val googleServices = "com.google.gms:google-services:4.3.0"
Expand Down
4 changes: 2 additions & 2 deletions features/about/feature/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2019 Andrey Tolpeev
* Copyright 2020 Andrey Tolpeev
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -28,7 +28,7 @@ apply from: '../../../scripts/jacoco.gradle'

android {
defaultConfig {
versionName Config.versionName
buildConfigField 'String', 'VERSION', "\"$Config.versionName\""
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ class AboutFragment : MaterialAboutFragment() {
R.color.material_on_surface_emphasis_medium
)
)
.subText(BuildConfig.VERSION_NAME)
.subText(BuildConfig.VERSION)
.build()
)
.addItem(
Expand Down
4 changes: 2 additions & 2 deletions features/change-details/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ apply plugin: 'org.jmailen.kotlinter'
apply from: '../../scripts/jacoco.gradle'

android {
dataBinding {
enabled = true
buildFeatures {
dataBinding true
}
}

Expand Down
6 changes: 3 additions & 3 deletions features/drawer/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2019 Andrey Tolpeev
* Copyright 2020 Andrey Tolpeev
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand All @@ -25,8 +25,8 @@ apply plugin: 'org.jmailen.kotlinter'
apply from: '../../scripts/jacoco.gradle'

android {
dataBinding {
enabled = true
buildFeatures {
dataBinding true
}
}

Expand Down
6 changes: 3 additions & 3 deletions features/manage-accounts/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2019 Andrey Tolpeev
* Copyright 2020 Andrey Tolpeev
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand All @@ -25,8 +25,8 @@ apply plugin: 'org.jmailen.kotlinter'
apply from: '../../scripts/jacoco.gradle'

android {
dataBinding {
enabled = true
buildFeatures {
dataBinding true
}
}

Expand Down
6 changes: 3 additions & 3 deletions features/properties/feature/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@ apply plugin: 'org.jmailen.kotlinter'
apply from: '../../../scripts/jacoco.gradle'

android {
dataBinding {
enabled = true
buildFeatures {
dataBinding true
}

kotlinOptions {
jvmTarget = Config.javaVersion.toString()
jvmTarget = Config.KotlinOptions.jvmTarget
}
}

Expand Down
6 changes: 3 additions & 3 deletions features/test-details/feature/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2019 Andrey Tolpeev
* Copyright 2020 Andrey Tolpeev
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand All @@ -25,8 +25,8 @@ apply plugin: 'org.jmailen.kotlinter'
apply from: '../../../scripts/jacoco.gradle'

android {
dataBinding {
enabled = true
buildFeatures {
dataBinding true
}
}

Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-6.1.1-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-6.5-all.zip
4 changes: 2 additions & 2 deletions libraries/utils/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ apply plugin: 'org.jmailen.kotlinter'
apply from: '../../scripts/jacoco.gradle'

android {
dataBinding {
enabled = true
buildFeatures {
dataBinding true
}
}

Expand Down

0 comments on commit 260d5a4

Please sign in to comment.