Skip to content

Commit f6f1adc

Browse files
committed
3.0.2008
1 parent a23c220 commit f6f1adc

File tree

86 files changed

+3805
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

86 files changed

+3805
-0
lines changed

androidfsstorage/app/build.gradle

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
apply plugin: 'com.android.application'
2+
apply plugin: 'ru.tinkoff.gradle.jarjar'
3+
4+
android {
5+
compileSdkVersion 26
6+
buildToolsVersion "26.0.2"
7+
defaultConfig {
8+
applicationId "com.ithit.webdav.samples.androidfsstorage"
9+
minSdkVersion 19
10+
targetSdkVersion 26
11+
versionCode 1
12+
versionName "1.0"
13+
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
14+
}
15+
buildTypes {
16+
release {
17+
minifyEnabled false
18+
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
19+
}
20+
}
21+
}
22+
23+
jarJar {
24+
rules = [
25+
'stax-api-1.0.1.jar': 'javax.xml.** com.ithit.webdav.xml.@1',
26+
'webdav-server-3.0.2008.jar': 'javax.xml.stream.** com.ithit.webdav.xml.stream.@1'
27+
]
28+
}
29+
30+
dependencies {
31+
32+
compile fileTree(dir: 'libs', include: ['*.jar'])
33+
compile fileTree(dir: 'build/libs', include: ['*.jar'])
34+
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
35+
exclude group: 'com.android.support', module: 'support-annotations'
36+
})
37+
compile 'io.apisense:rhino-android:1.0'
38+
compile 'commons-io:commons-io:2.4'
39+
compile 'com.google.code.gson:gson:2.7'
40+
compile 'com.android.support:appcompat-v7:26.+'
41+
compile ('com.ithit.webdav.integration:android-integration:3.0.2008', {
42+
exclude group: 'org.nanohttpd', module: 'nanohttpd'
43+
})
44+
compile 'com.android.support.constraint:constraint-layout:1.0.2'
45+
jarJar 'stax:stax-api:1.0.1'
46+
jarJar 'com.ithit.webdav:webdav-server:3.0.2008'
47+
testCompile 'junit:junit:4.12'
48+
}
50.2 KB
Binary file not shown.
185 KB
Binary file not shown.

androidfsstorage/app/lint.xml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<lint>
3+
<issue id="InvalidPackage">
4+
<ignore regexp="java.awt.*" />
5+
<ignore regexp="javax.swing.*" />
6+
</issue>
7+
</lint>
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# Add project specific ProGuard rules here.
2+
# By default, the flags in this file are appended to flags specified
3+
# in D:\Development\Android\sdk/tools/proguard/proguard-android.txt
4+
# You can edit the include path and order by changing the proguardFiles
5+
# directive in build.gradle.
6+
#
7+
# For more details, see
8+
# http://developer.android.com/guide/developing/tools/proguard.html
9+
10+
# Add any project specific keep options here:
11+
12+
# If your project uses WebView with JS, uncomment the following
13+
# and specify the fully qualified class name to the JavaScript interface
14+
# class:
15+
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
16+
# public *;
17+
#}
18+
19+
# Uncomment this to preserve the line number information for
20+
# debugging stack traces.
21+
#-keepattributes SourceFile,LineNumberTable
22+
23+
# If you keep the line number information, uncomment this to
24+
# hide the original source file name.
25+
#-renamesourcefileattribute SourceFile
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3+
package="com.ithit.webdav.samples.androidfsstorage.android">
4+
5+
<uses-permission android:name="android.permission.INTERNET" />
6+
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
7+
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
8+
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
9+
10+
11+
<application
12+
android:allowBackup="true"
13+
android:icon="@mipmap/icon"
14+
android:label="@string/app_name"
15+
android:roundIcon="@mipmap/icon"
16+
android:supportsRtl="true"
17+
android:theme="@style/AppTheme">
18+
<activity
19+
android:name=".MainActivity"
20+
android:screenOrientation="portrait">
21+
<intent-filter>
22+
<action android:name="android.intent.action.MAIN" />
23+
24+
<category android:name="android.intent.category.LAUNCHER" />
25+
</intent-filter>
26+
</activity>
27+
28+
<receiver
29+
android:name=".NanoBroadcastReceiver"
30+
android:exported="false">
31+
</receiver>
32+
33+
<service
34+
android:name=".NanoIntentService"
35+
android:exported="false">
36+
</service>
37+
</application>
38+
39+
</manifest>

0 commit comments

Comments
 (0)