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:
Harsh Shandilya 2020-09-06 17:12:34 +05:30 committed by GitHub
parent 1d1bfbb5ad
commit 2e07eb1c38
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 34 additions and 12 deletions

23
.editorconfig Normal file
View 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

View file

@ -17,8 +17,7 @@ buildscript {
}
plugins {
id("com.github.ben-manes.versions") version "0.29.0"
id("com.autonomousapps.dependency-analysis") version "0.56.0"
id("com.github.ben-manes.versions") version "0.30.0"
}
subprojects {
@ -60,7 +59,7 @@ subprojects {
}
tasks.wrapper {
gradleVersion = "6.6"
gradleVersion = "6.6.1"
distributionType = Wrapper.DistributionType.ALL
distributionSha256Sum = "83fa7c3e5ab84c3c5c4a04fb16947338209efa9aab1f6bf09a5d0e3d2ed87742"
distributionSha256Sum = "11657af6356b7587bfb37287b5992e94a9686d5c8a0a1b60b87b9928a2decde5"
}

View file

@ -30,7 +30,7 @@ object Dependencies {
const val autofill = "androidx.autofill:autofill:1.1.0-alpha02"
const val appcompat = "androidx.appcompat:appcompat:1.3.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 documentfile = "androidx.documentfile:documentfile:1.0.1"
const val fragment_ktx = "androidx.fragment:fragment-ktx:1.3.0-alpha08"
@ -80,11 +80,11 @@ object Dependencies {
object AndroidX {
const val runner = "androidx.test:runner:1.3.0-rc03"
const val rules = "androidx.test:rules:1.3.0-rc03"
const val junit = "androidx.test.ext:junit:1.1.2-rc03"
const val espresso_core = "androidx.test.espresso:espresso-core:3.3.0-rc03"
const val espresso_intents = "androidx.test.espresso:espresso-intents:3.3.0-rc03"
const val runner = "androidx.test:runner:1.3.0"
const val rules = "androidx.test:rules:1.3.0"
const val junit = "androidx.test.ext:junit:1.1.2"
const val espresso_core = "androidx.test.espresso:espresso-core:3.3.0"
const val espresso_intents = "androidx.test.espresso:espresso-intents:3.3.0"
}
}
}

View file

@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionSha256Sum=83fa7c3e5ab84c3c5c4a04fb16947338209efa9aab1f6bf09a5d0e3d2ed87742
distributionUrl=https\://services.gradle.org/distributions/gradle-6.6-all.zip
distributionSha256Sum=11657af6356b7587bfb37287b5992e94a9686d5c8a0a1b60b87b9928a2decde5
distributionUrl=https\://services.gradle.org/distributions/gradle-6.6.1-all.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists