diff --git a/.idea/codeStyles/Project.xml b/.idea/codeStyles/Project.xml
index a8bb610d..582b64c1 100644
--- a/.idea/codeStyles/Project.xml
+++ b/.idea/codeStyles/Project.xml
@@ -4,15 +4,6 @@
-
diff --git a/Dangerfile b/Dangerfile
index 573a20a7..706936fd 100644
--- a/Dangerfile
+++ b/Dangerfile
@@ -1 +1,30 @@
-message("Thanks @#{github.pr_author}!")
\ No newline at end of file
+if github.pr_body.length == 0
+ fail "Please provide a summary in the Pull Request description."
+end
+
+if git.lines_of_code > 500
+ warn "Please consider breaking up this pull request."
+end
+
+if github.pr_labels.empty?
+ warn "Please add labels to this PR."
+end
+
+if git.deletions > git.insertions
+ message "🎉 Code Cleanup!"
+end
+
+# Notify of outdated dependencies
+dependencyUpdatesHeader = "The following dependencies have later milestone versions:"
+dependencyReportsFile = "build/dependencyUpdates/report.txt"
+
+# Due to the formatting of this output file, we first check if there are any dependencies
+# by looking for a `->` arrow, then we check for the relevant headers. We do this to handle a case
+# where there are no app dependencies but there are Gradle dependencies.
+hasDependencyUpdatesHeader = File.readlines(dependencyReportsFile).grep(/#{dependencyUpdatesHeader}/).any?
+
+if hasDependencyUpdatesHeader
+ file = File.open(dependencyReportsFile, "rb").read
+ index = file.index(dependencyUpdatesHeader)
+ message file.slice(index..-1)
+end
\ No newline at end of file
diff --git a/Gemfile.lock b/Gemfile.lock
index de796394..a16ac1e3 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -3,7 +3,7 @@ GEM
specs:
addressable (2.8.0)
public_suffix (>= 2.0.2, < 5.0)
- claide (1.0.3)
+ claide (1.1.0)
claide-plugins (0.9.2)
cork
nap
@@ -11,43 +11,67 @@ GEM
colored2 (3.1.2)
cork (0.3.0)
colored2 (~> 3.1)
- danger (6.2.0)
+ danger (8.6.1)
claide (~> 1.0)
claide-plugins (>= 0.9.2)
colored2 (~> 3.1)
cork (~> 0.1)
- faraday (~> 0.9)
+ faraday (>= 0.9.0, < 2.0)
faraday-http-cache (~> 2.0)
- git (~> 1.5)
- kramdown (~> 2.0)
+ git (~> 1.7)
+ kramdown (~> 2.3)
kramdown-parser-gfm (~> 1.0)
no_proxy_fix
octokit (~> 4.7)
- terminal-table (~> 1)
- faraday (0.17.3)
+ terminal-table (>= 1, < 4)
+ faraday (1.10.0)
+ faraday-em_http (~> 1.0)
+ faraday-em_synchrony (~> 1.0)
+ faraday-excon (~> 1.1)
+ faraday-httpclient (~> 1.0)
+ faraday-multipart (~> 1.0)
+ faraday-net_http (~> 1.0)
+ faraday-net_http_persistent (~> 1.0)
+ faraday-patron (~> 1.0)
+ faraday-rack (~> 1.0)
+ faraday-retry (~> 1.0)
+ ruby2_keywords (>= 0.0.4)
+ faraday-em_http (1.0.0)
+ faraday-em_synchrony (1.0.0)
+ faraday-excon (1.1.0)
+ faraday-http-cache (2.2.0)
+ faraday (>= 0.8)
+ faraday-httpclient (1.0.1)
+ faraday-multipart (1.0.3)
multipart-post (>= 1.2, < 3)
- faraday-http-cache (2.0.0)
- faraday (~> 0.8)
- git (1.5.0)
- kramdown (2.3.1)
+ faraday-net_http (1.0.1)
+ faraday-net_http_persistent (1.2.0)
+ faraday-patron (1.0.0)
+ faraday-rack (1.0.0)
+ faraday-retry (1.0.3)
+ git (1.11.0)
+ rchardet (~> 1.8)
+ kramdown (2.4.0)
rexml
kramdown-parser-gfm (1.1.0)
kramdown (~> 2.0)
multipart-post (2.1.1)
nap (1.1.0)
no_proxy_fix (0.1.2)
- octokit (4.15.0)
+ octokit (4.22.0)
faraday (>= 0.9)
sawyer (~> 0.8.0, >= 0.5.3)
open4 (1.3.4)
- public_suffix (4.0.6)
- rexml (3.2.4)
+ public_suffix (4.0.7)
+ rchardet (1.8.0)
+ rexml (3.2.5)
+ ruby2_keywords (0.0.5)
sawyer (0.8.2)
addressable (>= 2.3.5)
faraday (> 0.8, < 2.0)
- terminal-table (1.8.0)
- unicode-display_width (~> 1.1, >= 1.1.1)
- unicode-display_width (1.6.1)
+ terminal-table (3.0.2)
+ unicode-display_width (>= 1.1.1, < 3)
+ unicode-display_width (2.1.0)
PLATFORMS
ruby
diff --git a/app/build.gradle b/app/build.gradle
index a26adf6a..c224cd51 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -67,7 +67,7 @@ android {
composeOptions {
kotlinCompilerExtensionVersion compose_version
- kotlinCompilerVersion '1.4.30'
+ kotlinCompilerVersion kotlin_version
}
}
diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml
index 0f85c3a0..4f8e9ed0 100644
--- a/app/src/main/AndroidManifest.xml
+++ b/app/src/main/AndroidManifest.xml
@@ -16,6 +16,7 @@
tools:ignore="GoogleAppIndexingWarning">
diff --git a/build.gradle b/build.gradle
index 55e4e30e..d7090ff5 100644
--- a/build.gradle
+++ b/build.gradle
@@ -4,9 +4,9 @@ apply plugin: "org.jlleitschuh.gradle.ktlint"
apply plugin: "io.gitlab.arturbosch.detekt"
buildscript {
- ext.kotlin_version = "1.4.32"
- ext.build_tools_version = '7.0.0-alpha14'
- ext.compose_version = '1.0.0-beta05'
+ ext.kotlin_version = "1.6.10"
+ ext.build_tools_version = '7.0.4'
+ ext.compose_version = '1.1.1'
repositories {
jcenter()
@@ -35,10 +35,10 @@ allprojects {
ext {
androidMinSdkVersion = 21
- androidTargetSdkVersion = 29
- androidCompileSdkVersion = 29
+ androidTargetSdkVersion = 31
+ androidCompileSdkVersion = 31
- appCompatVersion = "1.2.0"
+ appCompatVersion = "1.4.1"
lifecycleVersion = "2.3.1"
coroutinesVersion = "1.4.3"
architectureComponentsVersion = "2.1.0"
diff --git a/database/build.gradle b/database/build.gradle
index 8c5be57b..0fdc67c3 100644
--- a/database/build.gradle
+++ b/database/build.gradle
@@ -42,7 +42,7 @@ android {
}
dependencies {
- def roomVersion = "2.3.0"
+ def roomVersion = "2.4.2"
implementation fileTree(dir: "libs", include: ["*.jar"])
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties
index 3bedf4ad..64c1f014 100644
--- a/gradle/wrapper/gradle-wrapper.properties
+++ b/gradle/wrapper/gradle-wrapper.properties
@@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
-distributionUrl=https\://services.gradle.org/distributions/gradle-7.0-rc-1-bin.zip
+distributionUrl=https\://services.gradle.org/distributions/gradle-7.0.2-bin.zip