-
-
Notifications
You must be signed in to change notification settings - Fork 116
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update build dependencies + Use task configuration avoidance api (#215)
* Use lazy configuration task api * Update `gradle-scalates` dependency to 0.29 * Update kotlin-gradle-plugin to 1.4.32 * Remove unused repositories from root build.gradle * Bump scala 2.12 dependencies * Bump AGP dependency and switch to compileOnly to avoid upgrading AGP version in consumers * Update shot-android dependencies * Use lazy tasks api in ShotPlugin * Update ktlint-gradle plugin to recent version. Update requires using AGP version>4.0 which then requires using `androidx` dependencies * Update shot-android dependencies * Fix reported Android Lint issues * Fix bad merge Co-authored-by: Pedro Vicente Gómez Sánchez <pedrovgs@users.noreply.github.com> Co-authored-by: Pedro Gómez <pedro@karumi.com>
- Loading branch information
1 parent
5ef5422
commit 0002350
Showing
19 changed files
with
102 additions
and
86 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,17 @@ | ||
buildscript { | ||
repositories { | ||
mavenLocal() | ||
mavenCentral() | ||
gradlePluginPortal() | ||
google() | ||
jcenter() | ||
} | ||
|
||
ext.kotlin_version = "1.4.21" | ||
ext.kotlin_version = "1.4.32" | ||
|
||
dependencies { | ||
classpath "gradle.plugin.com.github.maiflai:gradle-scalatest:0.25" | ||
classpath "gradle.plugin.com.github.maiflai:gradle-scalatest:0.29" | ||
classpath "cz.alenkacz:gradle-scalafmt:1.14.0" | ||
classpath "com.android.tools.build:gradle:3.4.3" | ||
classpath "com.android.tools.build:gradle:4.1.3" | ||
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" | ||
classpath "org.jlleitschuh.gradle:ktlint-gradle:9.4.1" | ||
classpath "org.jlleitschuh.gradle:ktlint-gradle:10.0.0" | ||
} | ||
} | ||
} |
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
6 changes: 3 additions & 3 deletions
6
core/src/test/scala/com/karumi/shot/xml/ScreenshotsSuiteXmlParserSpec.scala
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 +1 @@ | ||
include ':shot', ':core', ':shot-android' | ||
include ':shot', ':core', ':shot-android' |
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,3 +1,4 @@ | ||
POM_NAME=Shot Android Companion Library | ||
POM_ARTIFACT_ID=shot-android | ||
POM_PACKAGING=aar | ||
POM_PACKAGING=aar | ||
android.useAndroidX=true |
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 |
---|---|---|
|
@@ -24,6 +24,6 @@ allprojects { | |
} | ||
} | ||
|
||
task clean(type: Delete) { | ||
tasks.register('clean', Delete) { | ||
delete rootProject.buildDir | ||
} | ||
} |
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 |
---|---|---|
|
@@ -21,6 +21,6 @@ allprojects { | |
} | ||
} | ||
|
||
task clean(type: Delete) { | ||
tasks.register('clean', Delete) { | ||
delete rootProject.buildDir | ||
} |
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 |
---|---|---|
|
@@ -25,6 +25,6 @@ allprojects { | |
} | ||
} | ||
|
||
task clean(type: Delete) { | ||
tasks.register('clean', Delete) { | ||
delete rootProject.buildDir | ||
} |
Oops, something went wrong.