diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 16:51:28 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 16:51:28 +0000 |
commit | 940b4d1848e8c70ab7642901a68594e8016caffc (patch) | |
tree | eb72f344ee6c3d9b80a7ecc079ea79e9fba8676d /external/owncloud-android-lib/build.gradle | |
parent | Initial commit. (diff) | |
download | libreoffice-940b4d1848e8c70ab7642901a68594e8016caffc.tar.xz libreoffice-940b4d1848e8c70ab7642901a68594e8016caffc.zip |
Adding upstream version 1:7.0.4.upstream/1%7.0.4upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | external/owncloud-android-lib/build.gradle | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/external/owncloud-android-lib/build.gradle b/external/owncloud-android-lib/build.gradle new file mode 100644 index 000000000..9203dc45a --- /dev/null +++ b/external/owncloud-android-lib/build.gradle @@ -0,0 +1,57 @@ +apply plugin: 'com.android.library' +buildscript { + repositories { + jcenter() + google() + } + dependencies { + classpath 'com.android.tools.build:gradle:3.1.3' + } +} + +allprojects { + repositories { + jcenter() + google() + } +} + +android { + useLibrary 'org.apache.http.legacy' + + compileOptions { + encoding 'ISO8859-1' + sourceCompatibility JavaVersion.VERSION_1_7 + targetCompatibility JavaVersion.VERSION_1_7 + } + + compileSdkVersion 26 + buildToolsVersion "27.0.3" + + defaultConfig { + minSdkVersion 16 + targetSdkVersion 26 + } + + sourceSets { + main { + manifest.srcFile 'AndroidManifest.xml' + java { + srcDirs = [ + 'libs/commons-codec-1.9/src/main/java', + 'libs/commons-httpclient-3.1/src/java', + 'libs/jackrabbit-webdav-2.7.2/src/main/java', + 'libs/slf4j-1.7.12/src/java', + 'libs/tomcat-7.0.40/java', + 'src' + ] + } + resources { + srcDirs = [ + 'libs/tomcat-7.0.40/java', + 'libs/jackrabbit-webdav-2.7.2/src/main/java' + ] + } + } + } +} |