-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #61 from RedMadRobot/feature/update-dependencies
Update dependencies
- Loading branch information
Showing
20 changed files
with
93 additions
and
65 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import com.redmadrobot.build.dsl.isRunningOnCi | ||
import org.jetbrains.kotlin.gradle.dsl.kotlinExtension | ||
import org.jetbrains.kotlin.gradle.tasks.KotlinJvmCompile | ||
|
||
kotlinExtension.jvmToolchain(11) | ||
|
||
// Treat all warnings as errors on CI | ||
val warningsAsErrors = findProperty("warningsAsErrors") == "true" || isRunningOnCi | ||
|
||
tasks.withType<KotlinJvmCompile>().configureEach { | ||
compilerOptions { | ||
allWarningsAsErrors = warningsAsErrors | ||
} | ||
} |
14 changes: 11 additions & 3 deletions
14
buildSrc/src/main/kotlin/convention.library.android.gradle.kts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,17 @@ | ||
plugins { | ||
id("com.redmadrobot.android-library") | ||
id("com.android.library") | ||
kotlin("android") | ||
id("org.gradle.android.cache-fix") | ||
id("convention.jvm") | ||
id("convention.publishing") | ||
id("convention.detekt") | ||
} | ||
|
||
redmadrobot { | ||
android.minSdk = 19 | ||
android { | ||
compileSdk = 34 | ||
defaultConfig.minSdk = 21 | ||
} | ||
|
||
kotlin { | ||
explicitApi() | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,10 @@ | ||
plugins { | ||
id("com.redmadrobot.kotlin-library") | ||
kotlin("jvm") | ||
id("convention.jvm") | ||
id("convention.publishing") | ||
id("convention.detekt") | ||
} | ||
|
||
kotlin { | ||
explicitApi() | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,9 @@ | ||
import com.redmadrobot.build.dsl.kotlinCompile | ||
|
||
plugins { | ||
id("convention.library.android") | ||
} | ||
|
||
kotlinCompile { | ||
kotlinOptions { | ||
moduleName = "redmadrobot.${project.name}" | ||
kotlin { | ||
compilerOptions { | ||
"redmadrobot.${project.name}" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,11 @@ | ||
[versions] | ||
androidGradlePlugin = "8.4.1" | ||
assertj-core = "3.25.1" | ||
androidx-arch-core = "2.2.0" | ||
viewbinding = "8.4.1" | ||
publish-plugin = "0.28.0" | ||
viewbinding = "8.5.1" | ||
publish-plugin = "0.29.0" | ||
|
||
[libraries] | ||
androidx-viewbinding = { module = "androidx.databinding:viewbinding", version.ref = "viewbinding" } | ||
assertj-core = { module = "org.assertj:assertj-core", version.ref = "assertj-core" } | ||
androidx-arch-core-testing = { module = "androidx.arch.core:core-testing", version.ref = "androidx-arch-core"} | ||
android-gradlePlugin = { module = "com.android.tools.build:gradle", version.ref = "androidGradlePlugin" } | ||
publish-gradlePlugin = { module = "com.vanniktech:gradle-maven-publish-plugin", version.ref = "publish-plugin" } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,9 @@ | ||
## Unreleased | ||
|
||
### Changes | ||
|
||
- `minSdk` version changed 19 → 21 | ||
|
||
## [1.3.6-0] (2021-10-02) | ||
|
||
### Dependencies | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters