diff --git a/LICENSE.md b/LICENSE.md index 2fb472bd..79dcde20 100644 --- a/LICENSE.md +++ b/LICENSE.md @@ -2,7 +2,7 @@ ownCloud Android Library is available under MIT license -Copyright (C) 2016 ownCloud GmbH. +Copyright (C) 2018 ownCloud GmbH. Copyright (C) 2012 Bartek Przybylski Permission is hereby granted, free of charge, to any person obtaining a copy diff --git a/README.md b/README.md index 715e2f3b..7a29cb82 100644 --- a/README.md +++ b/README.md @@ -44,9 +44,7 @@ ownCloud Android Library is available under MIT license. See the file LICENSE.md #### Third party libraries -ownCloud Android Library uses Apache JackRabbit, version 2.2.5. Copyright (C) 2004-2010 The Apache Software Foundation. Licensed under Apache License, Version 2.0. - -Apache JackRabbit depends on Commons HTTPClient version 3.1 and SLF4j version 1.7.5; both included also. Copyright (C) 2004-2010 The Apache Software Foundation. Licensed under Apache License, Version 2.0. +ownCloud Android Library uses OkHttp version 3.10, licensed under Apache License and version 2.0. Besides, it uses Dav4Android, licensed under Mozilla Public License, v. 2.0 ### Compatibility diff --git a/build.gradle b/build.gradle index 3fe45e41..c2176420 100644 --- a/build.gradle +++ b/build.gradle @@ -1,7 +1,7 @@ buildscript { repositories { - jcenter() google() + jcenter() } dependencies { classpath 'com.android.tools.build:gradle:3.1.2' @@ -14,12 +14,14 @@ allprojects { repositories { google() jcenter() + maven { url 'https://jitpack.io' } } } dependencies { - api 'org.apache.jackrabbit:jackrabbit-webdav:2.12.4' api 'com.squareup.okhttp3:okhttp:3.10.0' + implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.2.51" + implementation 'com.gitlab.ownclouders:dav4android:oc_support' } android { @@ -52,4 +54,8 @@ android { lintOptions { abortOnError false } + compileOptions { + sourceCompatibility JavaVersion.VERSION_1_8 + targetCompatibility JavaVersion.VERSION_1_8 + } } diff --git a/pom.xml b/pom.xml index 4690784f..5c4bdaad 100644 --- a/pom.xml +++ b/pom.xml @@ -29,12 +29,6 @@ provided - - org.apache.jackrabbit - jackrabbit-webdav - 2.7.2 - - diff --git a/res/values/empty.xml b/res/values/empty.xml deleted file mode 100644 index e999cb06..00000000 --- a/res/values/empty.xml +++ /dev/null @@ -1,26 +0,0 @@ - - - - diff --git a/sample_client/AndroidManifest.xml b/sample_client/AndroidManifest.xml index a2697540..58d5d6c1 100644 --- a/sample_client/AndroidManifest.xml +++ b/sample_client/AndroidManifest.xml @@ -34,8 +34,7 @@ android:targetSdkVersion="26"/> + android:label="@string/app_name"> - + \ No newline at end of file diff --git a/sample_client/build.gradle b/sample_client/build.gradle index c0f96865..e61a1458 100644 --- a/sample_client/build.gradle +++ b/sample_client/build.gradle @@ -42,4 +42,8 @@ android { packagingOptions { exclude 'META-INF/LICENSE.txt' } + compileOptions { + sourceCompatibility JavaVersion.VERSION_1_8 + targetCompatibility JavaVersion.VERSION_1_8 + } } diff --git a/sample_client/res/layout/main.xml b/sample_client/res/layout/main.xml index 6a15c528..e743396b 100644 --- a/sample_client/res/layout/main.xml +++ b/sample_client/res/layout/main.xml @@ -24,150 +24,99 @@ --> - - -