Skip to content

Commit

Permalink
Merge pull request #50 from futuredapp/feature/update-dependencies
Browse files Browse the repository at this point in the history
Update dependencies
  • Loading branch information
skywall authored Aug 11, 2021
2 parents 99623b5 + e74de4f commit 2beb188
Show file tree
Hide file tree
Showing 7 changed files with 36 additions and 5 deletions.
1 change: 0 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ allprojects {

subprojects {
apply(plugin = Deps.Plugins.ktlint)

ktlint {
version.set(Versions.ktlintExtension)
ignoreFailures.set(true)
Expand Down
4 changes: 4 additions & 0 deletions buildSrc/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,7 @@ plugins {
repositories {
jcenter()
}

dependencies {
implementation("com.github.ben-manes:gradle-versions-plugin:0.36.0")
}
2 changes: 1 addition & 1 deletion buildSrc/src/main/kotlin/Deps.kt
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ object Deps {
object AndroidX {
const val appcompat = "androidx.appcompat:appcompat:${Versions.androidx}"
const val palette = "androidx.palette:palette:${Versions.palette}"
const val ktx = "androidx.core:core-ktx:${Versions.androidx}"
const val ktx = "androidx.core:core-ktx:${Versions.androidxKtx}"
}
}
7 changes: 4 additions & 3 deletions buildSrc/src/main/kotlin/Versions.kt
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,16 @@ object Versions {
const val gradle = "4.1.0"

// plugins
const val detekt = "1.14.2"
const val ktlint = "10.0.0"
const val detekt = "1.17.1"
const val ktlint = "10.1.0"
const val ktlintExtension = "0.41.0"
const val mavenPublish = "0.15.0"
const val dokka = "1.4.30"

// kotlin
const val kotlin = "1.4.32"

const val androidx = "1.1.0"
const val androidx = "1.3.1"
const val androidxKtx = "1.6.0"
const val palette = "1.0.0"
}
9 changes: 9 additions & 0 deletions core/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,15 @@ android {
sourceSets {
getByName("main").java.srcDir("src/main/kotlin")
}

compileOptions {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}

kotlinOptions {
jvmTarget = JavaVersion.VERSION_1_8.toString()
}
}

dependencies {
Expand Down
9 changes: 9 additions & 0 deletions databinding/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,15 @@ android {
buildFeatures {
dataBinding = true
}

compileOptions {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}

kotlinOptions {
jvmTarget = JavaVersion.VERSION_1_8.toString()
}
}

dependencies {
Expand Down
9 changes: 9 additions & 0 deletions sample/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,15 @@ android {
dataBinding {
isEnabled = true
}

compileOptions {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}

kotlinOptions {
jvmTarget = JavaVersion.VERSION_1_8.toString()
}
}

dependencies {
Expand Down

0 comments on commit 2beb188

Please sign in to comment.