Skip to content

Commit

Permalink
Mark Constants.log as deprecated; update gradle, AGP, dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
rfc2822 committed Jul 15, 2024
1 parent 03a37a8 commit 29300bc
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 13 deletions.
10 changes: 5 additions & 5 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
[versions]
agp = "8.4.0"
androidx-annotation = "1.7.1"
androidx-test-runner = "1.5.2"
androidx-rest-rules = "1.5.0"
agp = "8.5.1"
androidx-annotation = "1.8.0"
androidx-test-runner = "1.6.1"
androidx-rest-rules = "1.6.1"
# noinspection GradleDependency
commons-io = "2.6"
# noinspection GradleDependency
commons-text = "1.3"
desugar = "2.0.4"
dokka = "1.9.20"
ezvcard = "0.12.1"
kotlin = "1.9.24"
kotlin = "2.0.0"
junit = "4.13.2"

[libraries]
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.8-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
9 changes: 2 additions & 7 deletions lib/src/main/java/at/bitfire/vcard4android/Constants.kt
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,11 @@

package at.bitfire.vcard4android

import java.util.logging.Level
import java.util.logging.Logger

object Constants {

val log: Logger = Logger.getLogger("vcard4android")

init {
if (BuildConfig.DEBUG)
log.level = Level.ALL
}
@Deprecated("Use java.util.Logger.getLogger(javaClass.name) instead", ReplaceWith("Logger.getLogger(javaClass.name)", "java.util.logging.Logger"))
val log: Logger = Logger.getLogger("at.bitfire.vcard4android")

}

0 comments on commit 29300bc

Please sign in to comment.