Skip to content

Commit 3a81bd5

Browse files
Merge pull request #12 from nextcloud/build24
Update Toolchain/Android-Target to v24
2 parents efbbb16 + 0d701fd commit 3a81bd5

File tree

20 files changed

+61
-95
lines changed

20 files changed

+61
-95
lines changed

.drone.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
pipeline:
2+
test:
3+
image: nextcloudci/android:android-7
4+
commands:
5+
- echo no | android create avd --force -n test -t $ANDROID_TARGET --abi $ANDROID_ABI -c 20M
6+
- emulator -avd test -no-window &
7+
- ./wait_for_emulator.sh
8+
# build app
9+
- ./gradlew clean build
10+
11+
environment:
12+
- ANDROID_TARGET=android-24
13+
- ANDROID_ABI=armeabi-v7a
14+
- LD_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu/:/opt/android-sdk-linux/tools/lib64/gles_mesa/

.lgtm

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
11
pattern = "(?i):shipit:|:\\+1:|LGTM"
2+
self_approval_off=true
3+
approvals = 1

.travis.yml

Lines changed: 0 additions & 49 deletions
This file was deleted.

AndroidManifest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030

3131
<uses-sdk
3232
android:minSdkVersion="11"
33-
android:targetSdkVersion="23" />
33+
android:targetSdkVersion="24" />
3434

3535
</manifest>
3636

README.md

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Using Nextcloud Android library it will be the easiest way to communicate with N
66
Add this library in your project and integrate your application with Nextcloud seamlessly.
77

88
## Use Library
9-
In the repository it is not only the library project but also the example project sample_client;
9+
In the repository it is not only the library project but also the example project "sample_client";
1010
thanks to it you will learn how to use the library.
1111

1212
*There are different ways of adding this library to your code*
@@ -37,22 +37,27 @@ The repository holds one main branch with an infinite lifetime:
3737

3838
Branch __origin/master__ is considered the main branch where the source code of HEAD always reflects a state with the latest delivered development changes for the next release.
3939

40-
Other branches, some supporting branches are used to aid parallel development between team members, ease tracking of features, prepare for production releases and to assist in quickly fixing live production problems. Unlike the main branches, these branches always have a limited life time, since they will be removed eventually.
40+
Other branches, some supporting branches are used to aid parallel development between team members, ease tracking of features and to assist in quickly fixing live production problems. Unlike the main branch, these branches always have a limited life time, since they will be removed eventually (feature branching).
4141

42-
The different types of branches we use:
42+
## Development process
43+
We are all about quality while not sacrificing speed so we use a very pragmatic workflow.
4344

44-
- Branch __perNewFeature__
45-
- Branch __releaseBranches__
46-
47-
Both of them branch off from master and must merge back into master branch through a [pull requests](https://github.com/nextcloud/android-library/pulls) in Github. Once the PR is approved and merged, the branch may be deleted.
45+
* create an issue with feature request
46+
* discuss it with other developers
47+
* create mockup if necessary
48+
* must be approved --> label approved
49+
* after that no conceptual changes!
50+
* develop code
51+
* create [pull request](https://github.com/nextcloud/android-library/pulls)
52+
* to assure the quality of the app, any PR gets reviewed, approved and tested by [two developers](https://github.com/nextcloud/android-library/blob/master/MAINTAINERS) before it will be merged to master
4853

4954
## License
5055

5156
Nextcloud Android Library is available under MIT license. See [LICENSE.md](https://github.com/nextcloud/android-library/blob/master/LICENSE.md) with the full license text.
5257

5358
### Third party libraries
5459
```
55-
Nextcloud Android Library uses Apache JackRabbit, version 2.2.5.
60+
Nextcloud Android Library uses Apache JackRabbit, version 2.12.2.
5661
Copyright (C) 2004-2010 The Apache Software Foundation.
5762
Licensed under Apache License, Version 2.0.
5863
```
@@ -65,6 +70,6 @@ Licensed under Apache License, Version 2.0.
6570

6671
## Compatibility
6772

68-
Nextcloud Android library is valid for Android version 3.0 and up (android:minSdkVersion="11" android:targetSdkVersion="23").
73+
Nextcloud Android library is valid for Android version 3.0 and up (with ```android:minSdkVersion="11"``` and ```android:targetSdkVersion="24"```).
6974

70-
Nextcloud Android library supports Nextcloud server from version 9.
75+
Nextcloud Android library supports Nextcloud server from version 9+.

build.gradle

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ buildscript {
33
jcenter()
44
}
55
dependencies {
6-
classpath 'com.android.tools.build:gradle:2.1.3'
6+
classpath 'com.android.tools.build:gradle:2.2.0'
77
classpath 'com.github.dcendents:android-maven-gradle-plugin:1.5'
88
}
99
}
@@ -18,12 +18,12 @@ repositories {
1818
}
1919

2020
dependencies {
21-
compile 'org.apache.jackrabbit:jackrabbit-webdav:2.10.1'
21+
compile 'org.apache.jackrabbit:jackrabbit-webdav:2.12.4'
2222
}
2323

2424
android {
25-
compileSdkVersion 23
26-
buildToolsVersion "23.0.3"
25+
compileSdkVersion 24
26+
buildToolsVersion "24.0.2"
2727

2828
sourceSets {
2929
main {

project.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@
1111
#proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt
1212

1313
# Project target.
14-
target=android-23
14+
target=android-24
1515
android.library=true

sample_client/AndroidManifest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
<uses-permission android:name="android.permission.INTERNET" />
3131
<uses-sdk
3232
android:minSdkVersion="11"
33-
android:targetSdkVersion="23" />
33+
android:targetSdkVersion="24" />
3434
<application android:label="@string/app_name" android:icon="@drawable/ic_launcher">
3535
<activity android:name="MainActivity"
3636
android:label="@string/app_name"

sample_client/build.gradle

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ dependencies {
99
}
1010

1111
android {
12-
compileSdkVersion 23
13-
buildToolsVersion "23.0.3"
12+
compileSdkVersion 24
13+
buildToolsVersion "24.0.2"
1414

1515
sourceSets {
1616
main {
@@ -43,9 +43,4 @@ android {
4343
packagingOptions {
4444
exclude 'META-INF/LICENSE.txt'
4545
}
46-
android {
47-
lintOptions {
48-
abortOnError false
49-
}
50-
}
5146
}

0 commit comments

Comments
 (0)