Update dependencies and add EditorConfig file (#1082)
* build: uprev Gradle Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * editorconfig: init Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * build: remove unused dependency analysis plugin Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * build: update ConstraintLayout and AndroidX testing libraries Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
parent
1d1bfbb5ad
commit
2e07eb1c38
4 changed files with 34 additions and 12 deletions
23
.editorconfig
Normal file
23
.editorconfig
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
# https://editorconfig.org
|
||||||
|
root = true
|
||||||
|
|
||||||
|
[*]
|
||||||
|
indent_style = space
|
||||||
|
indent_size = 4
|
||||||
|
|
||||||
|
end_of_line = lf
|
||||||
|
charset = utf-8
|
||||||
|
trim_trailing_whitespace = true
|
||||||
|
insert_final_newline = true
|
||||||
|
|
||||||
|
[*.{java,kt,kts,xml}]
|
||||||
|
indent_size = 4
|
||||||
|
ij_continuation_indent_size = 2
|
||||||
|
|
||||||
|
[*.{kt,kts}]
|
||||||
|
kotlin_imports_layout=ascii
|
||||||
|
ij_kotlin_code_style_defaults = KOTLIN_OFFICIAL
|
||||||
|
ij_kotlin_field_annotation_wrap = normal
|
||||||
|
|
||||||
|
[*.md]
|
||||||
|
trim_trailing_whitespace = false
|
|
@ -17,8 +17,7 @@ buildscript {
|
||||||
}
|
}
|
||||||
|
|
||||||
plugins {
|
plugins {
|
||||||
id("com.github.ben-manes.versions") version "0.29.0"
|
id("com.github.ben-manes.versions") version "0.30.0"
|
||||||
id("com.autonomousapps.dependency-analysis") version "0.56.0"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
subprojects {
|
subprojects {
|
||||||
|
@ -60,7 +59,7 @@ subprojects {
|
||||||
}
|
}
|
||||||
|
|
||||||
tasks.wrapper {
|
tasks.wrapper {
|
||||||
gradleVersion = "6.6"
|
gradleVersion = "6.6.1"
|
||||||
distributionType = Wrapper.DistributionType.ALL
|
distributionType = Wrapper.DistributionType.ALL
|
||||||
distributionSha256Sum = "83fa7c3e5ab84c3c5c4a04fb16947338209efa9aab1f6bf09a5d0e3d2ed87742"
|
distributionSha256Sum = "11657af6356b7587bfb37287b5992e94a9686d5c8a0a1b60b87b9928a2decde5"
|
||||||
}
|
}
|
||||||
|
|
|
@ -30,7 +30,7 @@ object Dependencies {
|
||||||
const val autofill = "androidx.autofill:autofill:1.1.0-alpha02"
|
const val autofill = "androidx.autofill:autofill:1.1.0-alpha02"
|
||||||
const val appcompat = "androidx.appcompat:appcompat:1.3.0-alpha02"
|
const val appcompat = "androidx.appcompat:appcompat:1.3.0-alpha02"
|
||||||
const val biometric = "androidx.biometric:biometric:1.1.0-alpha02"
|
const val biometric = "androidx.biometric:biometric:1.1.0-alpha02"
|
||||||
const val constraint_layout = "androidx.constraintlayout:constraintlayout:2.0.0-rc1"
|
const val constraint_layout = "androidx.constraintlayout:constraintlayout:2.0.1"
|
||||||
const val core_ktx = "androidx.core:core-ktx:1.5.0-alpha02"
|
const val core_ktx = "androidx.core:core-ktx:1.5.0-alpha02"
|
||||||
const val documentfile = "androidx.documentfile:documentfile:1.0.1"
|
const val documentfile = "androidx.documentfile:documentfile:1.0.1"
|
||||||
const val fragment_ktx = "androidx.fragment:fragment-ktx:1.3.0-alpha08"
|
const val fragment_ktx = "androidx.fragment:fragment-ktx:1.3.0-alpha08"
|
||||||
|
@ -80,11 +80,11 @@ object Dependencies {
|
||||||
|
|
||||||
object AndroidX {
|
object AndroidX {
|
||||||
|
|
||||||
const val runner = "androidx.test:runner:1.3.0-rc03"
|
const val runner = "androidx.test:runner:1.3.0"
|
||||||
const val rules = "androidx.test:rules:1.3.0-rc03"
|
const val rules = "androidx.test:rules:1.3.0"
|
||||||
const val junit = "androidx.test.ext:junit:1.1.2-rc03"
|
const val junit = "androidx.test.ext:junit:1.1.2"
|
||||||
const val espresso_core = "androidx.test.espresso:espresso-core:3.3.0-rc03"
|
const val espresso_core = "androidx.test.espresso:espresso-core:3.3.0"
|
||||||
const val espresso_intents = "androidx.test.espresso:espresso-intents:3.3.0-rc03"
|
const val espresso_intents = "androidx.test.espresso:espresso-intents:3.3.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
4
gradle/wrapper/gradle-wrapper.properties
vendored
4
gradle/wrapper/gradle-wrapper.properties
vendored
|
@ -1,6 +1,6 @@
|
||||||
distributionBase=GRADLE_USER_HOME
|
distributionBase=GRADLE_USER_HOME
|
||||||
distributionPath=wrapper/dists
|
distributionPath=wrapper/dists
|
||||||
distributionSha256Sum=83fa7c3e5ab84c3c5c4a04fb16947338209efa9aab1f6bf09a5d0e3d2ed87742
|
distributionSha256Sum=11657af6356b7587bfb37287b5992e94a9686d5c8a0a1b60b87b9928a2decde5
|
||||||
distributionUrl=https\://services.gradle.org/distributions/gradle-6.6-all.zip
|
distributionUrl=https\://services.gradle.org/distributions/gradle-6.6.1-all.zip
|
||||||
zipStoreBase=GRADLE_USER_HOME
|
zipStoreBase=GRADLE_USER_HOME
|
||||||
zipStorePath=wrapper/dists
|
zipStorePath=wrapper/dists
|
||||||
|
|
Loading…
Reference in a new issue