Skip to content

Commit

Permalink
Merge pull request #1779 from dhis2/1.6.0-rc
Browse files Browse the repository at this point in the history
feat: [1.6.0-RC] Version 1.6.0
  • Loading branch information
vgarciabnz authored Apr 29, 2022
2 parents 73bc37e + f93a8de commit 60f5b67
Show file tree
Hide file tree
Showing 3,172 changed files with 20,522 additions and 12,842 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
3 changes: 2 additions & 1 deletion .idea/gradle.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions .tx/config
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
[main]
host = https://www.transifex.com
lang_map = fa_AF: prs, uz@Cyrl: uz, uz@Latn: b+uz+Latn, zh_CN: zh-rCN, pt_BR: pt-rBR

[dhis2-android-sdk.strings-xml]
file_filter = core/src/main/res/values-<lang>/strings.xml
minimum_perc = 0
source_file = core/src/main/res/values/strings.xml
source_lang = en
type = ANDROID
6 changes: 3 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
buildscript {
ext.kotlin_version = '1.3.72'
ext.kotlin_version = '1.6.10'
repositories {
google()
mavenLocal()
Expand All @@ -8,9 +8,9 @@ buildscript {
}

dependencies {
classpath "com.android.tools.build:gradle:4.0.1"
classpath "com.android.tools.build:gradle:7.0.4"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "org.jlleitschuh.gradle:ktlint-gradle:9.3.0"
classpath "org.jlleitschuh.gradle:ktlint-gradle:10.1.0"
}
}

Expand Down
59 changes: 31 additions & 28 deletions core/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,8 @@
plugins {
id "com.android.library"
id "kotlin-android"
id "kotlin-android-extensions"
id "kotlin-kapt"
//id "io.gitlab.arturbosch.detekt" version "1.18.0"
id "io.gitlab.arturbosch.detekt" version "1.18.0"
id "org.jetbrains.dokka" version "1.4.30" apply false
}

Expand All @@ -40,52 +39,52 @@ apply from: project.file("plugins/android-pmd.gradle")

ext {
configuration = [
buildToolsVersion: "29.0.3",
minSdkVersion : 19,
targetSdkVersion : 29,
versionCode : 253,
versionName : "1.5.3"
buildToolsVersion: "30.0.2",
minSdkVersion : 21,
targetSdkVersion : 31,
versionCode : 260,
versionName : "1.6.0"
]

libraries = [
// android
annotation : '1.1.0',
annotation : '1.3.0',
paging : '2.1.2',

// java
apacheCommons : "3.3.7",
apacheCommons : "3.8.1",
jackson : "2.11.2",
autoValue : "1.7.4",
autoValueCursor : "2.0.1",
retrofit : "2.6.4",
retrofit : "2.9.0",
okHttp : "3.12.0",
dagger : "2.28.3",
rxJava : "2.2.9",
dagger : "2.39.1",
rxJava : "2.2.12",
rxAndroid : "2.1.1",
sqlCipher : "4.4.0",
jexl : "2.1.1",
jodaTime : "2.10.6",
smsCompression : "0.2.0",
expressionParser: "1.0.18",
expressionParser: "1.0.25",

// test dependencies
coreTesting : "1.1.1",
jUnit : "4.13",
coreTesting : "2.1.0",
jUnit : "4.13.2",
mockito : "3.4.6",
mockitoKotlin : "2.2.0",
truth : "1.1.2",
testRunner : "1.2.0",
testRunner : "1.4.0",
equalsVerifier : "3.4.1",
flipper : "0.83.0",
soloader : "0.10.1",
liveDataTesting : "1.2.0",
commonsLogging : "1.2",

// google
safetyNet : "17.0.0",
safetyNet : "18.0.1",

// open id
appauth : "0.7.1"
appauth : "0.8.1"
]
}

Expand All @@ -104,6 +103,9 @@ android {
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
multiDexEnabled true
vectorDrawables.useSupportLibrary = true

buildConfigField("long", "VERSION_CODE", "${defaultConfig.versionCode}")
buildConfigField("String","VERSION_NAME","\"${defaultConfig.versionName}\"")
}

compileOptions {
Expand Down Expand Up @@ -163,9 +165,6 @@ dependencies {
api "androidx.annotation:annotation:${libraries.annotation}"
api "androidx.paging:paging-runtime:${libraries.paging}"

// Kotlin
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"

// Auto Value
api "com.google.auto.value:auto-value-annotations:${libraries.autoValue}"
kapt "com.google.auto.value:auto-value:${libraries.autoValue}"
Expand All @@ -178,7 +177,6 @@ dependencies {
api "com.fasterxml.jackson.core:jackson-databind:${libraries.jackson}"
api "com.fasterxml.jackson.module:jackson-module-kotlin:${libraries.jackson}"


// Google's play services
api "com.google.android.gms:play-services-safetynet:${libraries.safetyNet}"

Expand Down Expand Up @@ -226,8 +224,8 @@ dependencies {
// Android test dependencies
androidTestImplementation "commons-logging:commons-logging:${libraries.commonsLogging}"
androidTestImplementation "org.mockito:mockito-core:${libraries.mockito}"
androidTestImplementation "android.arch.core:core-testing:${libraries.coreTesting}"
//androidTestImplementation "com.jraska.livedata:testing:${libraries.liveDataTesting}"
androidTestImplementation "androidx.arch.core:core-testing:${libraries.coreTesting}"
androidTestImplementation "com.jraska.livedata:testing-ktx:${libraries.liveDataTesting}"
androidTestImplementation "androidx.test:runner:${libraries.testRunner}"
androidTestImplementation "com.squareup.okhttp3:logging-interceptor:${libraries.okHttp}"
androidTestImplementation("com.google.truth:truth:${libraries.truth}") {
Expand All @@ -242,6 +240,7 @@ dependencies {
releaseImplementation "com.facebook.flipper:flipper-noop:${libraries.flipper}"

implementation "net.openid:appauth:${libraries.appauth}"
implementation 'com.google.guava:listenablefuture:9999.0-empty-to-avoid-conflict-with-guava'
}

apply from: project.file("plugins/gradle-mvn-push.gradle")
Expand All @@ -250,7 +249,11 @@ repositories {
maven { url "https://oss.sonatype.org/content/repositories/snapshots" }
}

//detekt {
// config = files("config/detekt.yml")
// buildUponDefaultConfig = false
//}
detekt {
toolVersion = "1.18.0"
config = files("config/detekt.yml")
parallel = true
buildUponDefaultConfig = false
}


Loading

0 comments on commit 60f5b67

Please sign in to comment.