Loading app/build.gradle +36 −33 Original line number Diff line number Diff line plugins { id 'com.android.application' id 'org.jetbrains.kotlin.android' alias(libs.plugins.android.application) alias(libs.plugins.kotlin.android) } def versionMajor = 1 Loading Loading @@ -101,40 +101,43 @@ android { } dependencies { implementation("foundation.e:Nextcloud-Android-Library:2.0.3-u2.17-release") { implementation fileTree(include: ['*.jar'], dir: 'libs') implementation(libs.nextcloud.android.library) { exclude group: 'com.gitlab.bitfireAT', module: 'dav4jvm' // Got from AccountManager exclude group: 'com.github.bitfireAT', module: 'dav4jvm' exclude group: 'org.ogce', module: 'xpp3' // unused in Android and brings wrong Junit version } implementation "commons-httpclient:commons-httpclient:3.1@jar" implementation fileTree(include: ['*.jar'], dir: 'libs') api 'androidx.annotation:annotation:1.9.1' implementation 'androidx.appcompat:appcompat:1.7.1' implementation "androidx.constraintlayout:constraintlayout:2.2.1" implementation 'com.google.android.material:material:1.13.0' implementation 'com.github.bumptech.glide:glide:5.0.5' implementation 'com.github.bumptech.glide:annotations:5.0.5' implementation 'androidx.core:core-ktx:1.17.0' annotationProcessor 'com.github.bumptech.glide:compiler:5.0.5' implementation "androidx.work:work-runtime:2.11.0" implementation 'androidx.test:core:1.7.0' implementation 'com.jakewharton.timber:timber:5.0.1' implementation 'foundation.e:elib:0.0.1-alpha11' implementation 'foundation.e.lib:telemetry:1.0.1-release' androidTestImplementation 'androidx.test:runner:1.7.0' androidTestImplementation 'androidx.test:rules:1.7.0' androidTestImplementation 'androidx.annotation:annotation:1.9.1' androidTestImplementation 'androidx.test.espresso:espresso-core:3.7.0' androidTestImplementation 'junit:junit:4.13.2' testImplementation 'androidx.test:runner:1.7.0' testImplementation 'androidx.test:rules:1.7.0' testImplementation 'junit:junit:4.13.2' testImplementation 'org.robolectric:robolectric:4.16' testImplementation 'org.mockito:mockito-core:5.20.0' testImplementation 'androidx.work:work-testing:2.11.0' annotationProcessor libs.compiler api libs.annotation implementation libs.appcompat implementation(libs.commons.httpclient) { exclude group: 'commons-logging', module: 'commons-logging' } implementation libs.constraintlayout implementation libs.core implementation libs.core.ktx implementation libs.elib implementation libs.glide implementation libs.glide.annotations implementation libs.material implementation libs.telemetry implementation libs.timber implementation libs.work.runtime androidTestImplementation libs.annotation androidTestImplementation libs.espresso.core androidTestImplementation libs.junit androidTestImplementation libs.rules androidTestImplementation libs.runner testImplementation libs.junit testImplementation libs.mockito.core testImplementation libs.robolectric testImplementation libs.rules testImplementation libs.runner testImplementation libs.work.testing } build.gradle +4 −6 Original line number Diff line number Diff line // Top-level build file where you can add configuration options common to all sub-projects/modules. plugins { id 'com.android.application' version '8.13.0' apply false id 'com.android.library' version '8.13.0' apply false id 'org.jetbrains.kotlin.android' version '2.2.21' apply false id 'io.gitlab.arturbosch.detekt' version '1.23.8' alias(libs.plugins.android.application) apply false alias(libs.plugins.android.library) apply false alias(libs.plugins.kotlin.android) apply false alias(libs.plugins.detekt) } tasks.register('clean', Delete) { Loading @@ -12,8 +12,6 @@ tasks.register('clean', Delete) { subprojects { detekt { toolVersion = "1.23.8" source = files( "src/main/java" ) Loading gradle/libs.versions.toml 0 → 100644 +51 −0 Original line number Diff line number Diff line [versions] androidGradlePlugin = "8.13.0" annotation = "1.9.1" appcompat = "1.7.1" commonsHttpclient = "3.1" constraintlayout = "2.2.1" core = "1.7.0" coreKtx = "1.17.0" detekt = "1.23.8" elib = "0.0.1-alpha11" espressoCore = "3.7.0" glide = "5.0.5" junit = "4.13.2" kotlin = "2.2.21" material = "1.13.0" mockitoCore = "5.20.0" nextcloudAndroidLibrary = "2.0.3-u2.17-release" robolectric = "4.16" telemetry = "1.0.1-release" timber = "5.0.1" workRuntime = "2.11.0" [libraries] annotation = { module = "androidx.annotation:annotation", version.ref = "annotation" } appcompat = { module = "androidx.appcompat:appcompat", version.ref = "appcompat" } commons-httpclient = { module = "commons-httpclient:commons-httpclient", version.ref = "commonsHttpclient" } compiler = { module = "com.github.bumptech.glide:compiler", version.ref = "glide" } constraintlayout = { module = "androidx.constraintlayout:constraintlayout", version.ref = "constraintlayout" } core = { module = "androidx.test:core", version.ref = "core" } core-ktx = { module = "androidx.core:core-ktx", version.ref = "coreKtx" } elib = { module = "foundation.e:elib", version.ref = "elib" } espresso-core = { module = "androidx.test.espresso:espresso-core", version.ref = "espressoCore" } glide = { module = "com.github.bumptech.glide:glide", version.ref = "glide" } glide-annotations = { module = "com.github.bumptech.glide:annotations", version.ref = "glide" } junit = { module = "junit:junit", version.ref = "junit" } material = { module = "com.google.android.material:material", version.ref = "material" } mockito-core = { module = "org.mockito:mockito-core", version.ref = "mockitoCore" } nextcloud-android-library = { module = "foundation.e:Nextcloud-Android-Library", version.ref = "nextcloudAndroidLibrary" } robolectric = { module = "org.robolectric:robolectric", version.ref = "robolectric" } rules = { module = "androidx.test:rules", version.ref = "core" } runner = { module = "androidx.test:runner", version.ref = "core" } telemetry = { module = "foundation.e.lib:telemetry", version.ref = "telemetry" } timber = { module = "com.jakewharton.timber:timber", version.ref = "timber" } work-runtime = { module = "androidx.work:work-runtime", version.ref = "workRuntime" } work-testing = { module = "androidx.work:work-testing", version.ref = "workRuntime" } [plugins] android-application = { id = "com.android.application", version.ref = "androidGradlePlugin" } android-library = { id = "com.android.library", version.ref = "androidGradlePlugin" } detekt = { id = "io.gitlab.arturbosch.detekt", version.ref = "detekt" } kotlin-android = { id = "org.jetbrains.kotlin.android", version.ref = "kotlin" } settings.gradle +1 −0 Original line number Diff line number Diff line Loading @@ -5,6 +5,7 @@ pluginManagement { mavenCentral() } } dependencyResolutionManagement { repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS) repositories { Loading Loading
app/build.gradle +36 −33 Original line number Diff line number Diff line plugins { id 'com.android.application' id 'org.jetbrains.kotlin.android' alias(libs.plugins.android.application) alias(libs.plugins.kotlin.android) } def versionMajor = 1 Loading Loading @@ -101,40 +101,43 @@ android { } dependencies { implementation("foundation.e:Nextcloud-Android-Library:2.0.3-u2.17-release") { implementation fileTree(include: ['*.jar'], dir: 'libs') implementation(libs.nextcloud.android.library) { exclude group: 'com.gitlab.bitfireAT', module: 'dav4jvm' // Got from AccountManager exclude group: 'com.github.bitfireAT', module: 'dav4jvm' exclude group: 'org.ogce', module: 'xpp3' // unused in Android and brings wrong Junit version } implementation "commons-httpclient:commons-httpclient:3.1@jar" implementation fileTree(include: ['*.jar'], dir: 'libs') api 'androidx.annotation:annotation:1.9.1' implementation 'androidx.appcompat:appcompat:1.7.1' implementation "androidx.constraintlayout:constraintlayout:2.2.1" implementation 'com.google.android.material:material:1.13.0' implementation 'com.github.bumptech.glide:glide:5.0.5' implementation 'com.github.bumptech.glide:annotations:5.0.5' implementation 'androidx.core:core-ktx:1.17.0' annotationProcessor 'com.github.bumptech.glide:compiler:5.0.5' implementation "androidx.work:work-runtime:2.11.0" implementation 'androidx.test:core:1.7.0' implementation 'com.jakewharton.timber:timber:5.0.1' implementation 'foundation.e:elib:0.0.1-alpha11' implementation 'foundation.e.lib:telemetry:1.0.1-release' androidTestImplementation 'androidx.test:runner:1.7.0' androidTestImplementation 'androidx.test:rules:1.7.0' androidTestImplementation 'androidx.annotation:annotation:1.9.1' androidTestImplementation 'androidx.test.espresso:espresso-core:3.7.0' androidTestImplementation 'junit:junit:4.13.2' testImplementation 'androidx.test:runner:1.7.0' testImplementation 'androidx.test:rules:1.7.0' testImplementation 'junit:junit:4.13.2' testImplementation 'org.robolectric:robolectric:4.16' testImplementation 'org.mockito:mockito-core:5.20.0' testImplementation 'androidx.work:work-testing:2.11.0' annotationProcessor libs.compiler api libs.annotation implementation libs.appcompat implementation(libs.commons.httpclient) { exclude group: 'commons-logging', module: 'commons-logging' } implementation libs.constraintlayout implementation libs.core implementation libs.core.ktx implementation libs.elib implementation libs.glide implementation libs.glide.annotations implementation libs.material implementation libs.telemetry implementation libs.timber implementation libs.work.runtime androidTestImplementation libs.annotation androidTestImplementation libs.espresso.core androidTestImplementation libs.junit androidTestImplementation libs.rules androidTestImplementation libs.runner testImplementation libs.junit testImplementation libs.mockito.core testImplementation libs.robolectric testImplementation libs.rules testImplementation libs.runner testImplementation libs.work.testing }
build.gradle +4 −6 Original line number Diff line number Diff line // Top-level build file where you can add configuration options common to all sub-projects/modules. plugins { id 'com.android.application' version '8.13.0' apply false id 'com.android.library' version '8.13.0' apply false id 'org.jetbrains.kotlin.android' version '2.2.21' apply false id 'io.gitlab.arturbosch.detekt' version '1.23.8' alias(libs.plugins.android.application) apply false alias(libs.plugins.android.library) apply false alias(libs.plugins.kotlin.android) apply false alias(libs.plugins.detekt) } tasks.register('clean', Delete) { Loading @@ -12,8 +12,6 @@ tasks.register('clean', Delete) { subprojects { detekt { toolVersion = "1.23.8" source = files( "src/main/java" ) Loading
gradle/libs.versions.toml 0 → 100644 +51 −0 Original line number Diff line number Diff line [versions] androidGradlePlugin = "8.13.0" annotation = "1.9.1" appcompat = "1.7.1" commonsHttpclient = "3.1" constraintlayout = "2.2.1" core = "1.7.0" coreKtx = "1.17.0" detekt = "1.23.8" elib = "0.0.1-alpha11" espressoCore = "3.7.0" glide = "5.0.5" junit = "4.13.2" kotlin = "2.2.21" material = "1.13.0" mockitoCore = "5.20.0" nextcloudAndroidLibrary = "2.0.3-u2.17-release" robolectric = "4.16" telemetry = "1.0.1-release" timber = "5.0.1" workRuntime = "2.11.0" [libraries] annotation = { module = "androidx.annotation:annotation", version.ref = "annotation" } appcompat = { module = "androidx.appcompat:appcompat", version.ref = "appcompat" } commons-httpclient = { module = "commons-httpclient:commons-httpclient", version.ref = "commonsHttpclient" } compiler = { module = "com.github.bumptech.glide:compiler", version.ref = "glide" } constraintlayout = { module = "androidx.constraintlayout:constraintlayout", version.ref = "constraintlayout" } core = { module = "androidx.test:core", version.ref = "core" } core-ktx = { module = "androidx.core:core-ktx", version.ref = "coreKtx" } elib = { module = "foundation.e:elib", version.ref = "elib" } espresso-core = { module = "androidx.test.espresso:espresso-core", version.ref = "espressoCore" } glide = { module = "com.github.bumptech.glide:glide", version.ref = "glide" } glide-annotations = { module = "com.github.bumptech.glide:annotations", version.ref = "glide" } junit = { module = "junit:junit", version.ref = "junit" } material = { module = "com.google.android.material:material", version.ref = "material" } mockito-core = { module = "org.mockito:mockito-core", version.ref = "mockitoCore" } nextcloud-android-library = { module = "foundation.e:Nextcloud-Android-Library", version.ref = "nextcloudAndroidLibrary" } robolectric = { module = "org.robolectric:robolectric", version.ref = "robolectric" } rules = { module = "androidx.test:rules", version.ref = "core" } runner = { module = "androidx.test:runner", version.ref = "core" } telemetry = { module = "foundation.e.lib:telemetry", version.ref = "telemetry" } timber = { module = "com.jakewharton.timber:timber", version.ref = "timber" } work-runtime = { module = "androidx.work:work-runtime", version.ref = "workRuntime" } work-testing = { module = "androidx.work:work-testing", version.ref = "workRuntime" } [plugins] android-application = { id = "com.android.application", version.ref = "androidGradlePlugin" } android-library = { id = "com.android.library", version.ref = "androidGradlePlugin" } detekt = { id = "io.gitlab.arturbosch.detekt", version.ref = "detekt" } kotlin-android = { id = "org.jetbrains.kotlin.android", version.ref = "kotlin" }
settings.gradle +1 −0 Original line number Diff line number Diff line Loading @@ -5,6 +5,7 @@ pluginManagement { mavenCentral() } } dependencyResolutionManagement { repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS) repositories { Loading