Skip to content

Commit fc06649

Browse files
committed
Initial commit.
0 parents  commit fc06649

147 files changed

Lines changed: 6408 additions & 0 deletions

File tree

Some content is hidden

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

.gitignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
/.gradle
2+
/.idea
3+
/build
4+
local.properties
5+
GitLabAndroid.iml
6+
.DS_Store

README.md

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
# GitLab for Android [![Google Play](http://developer.android.com/images/brand/en_generic_rgb_wo_45.png)](https://play.google.com/store/apps/details?id=com.bd.gitlab)
2+
3+
This is the source code for the unofficial GitLab Android app.
4+
5+
Please see the [issues](https://github.com/ekx/GitLabAndroid/issues) section to
6+
report any bugs or feature requests and to see the list of known issues.
7+
8+
## License
9+
10+
* [Apache Version 2.0](http://www.apache.org/licenses/LICENSE-2.0.html)
11+
12+
## Building
13+
14+
To build the project create a file called 'signing.gradle' in the 'app' directory. It should contain your signing information as below.
15+
16+
```
17+
android {
18+
signingConfigs {
19+
release {
20+
storeFile file("..")
21+
storePassword ".."
22+
keyAlias ".."
23+
keyPassword ".."
24+
}
25+
}
26+
}
27+
```
28+
29+
Then execute 'gradlew assembleRelease' in the project's root directory. If everthing went fine, the APK file can be found in 'pathtoproject/app/build/outputs/apk'
30+
31+
## Acknowledgements
32+
33+
This project uses many open source libraries such as:
34+
35+
* [Retrofit](https://github.com/square/retrofit)
36+
* [Picasso](https://github.com/square/picasso)
37+
* [Butter Knife](https://github.com/JakeWharton/butterknife)
38+
* [Gson](https://code.google.com/p/google-gson/)
39+
* [joda-time-android](https://github.com/dlew/joda-time-android)
40+
* [ActionBar-PullToRefresh](https://github.com/chrisbanes/ActionBar-PullToRefresh)
41+
* [Crouton](https://github.com/keyboardsurfer/Crouton)
42+
43+
## Contributing
44+
45+
Please fork this repository and contribute back using
46+
[pull requests](https://github.com/ekx/GitLabAndroid/pulls).

app/.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
/build
2+
app-release.apk
3+
app.iml
4+
signing.gradle
5+
release.keystore

app/build.gradle

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
import com.android.build.gradle.tasks.PackageApplication
2+
3+
apply plugin: 'android'
4+
apply from: 'signing.gradle'
5+
6+
android {
7+
compileSdkVersion 19
8+
buildToolsVersion '19.1.0'
9+
10+
defaultConfig {
11+
minSdkVersion 14
12+
targetSdkVersion 19
13+
versionCode 36
14+
versionName "1.5.6"
15+
}
16+
buildTypes {
17+
release {
18+
signingConfig signingConfigs.release
19+
runProguard false
20+
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
21+
debuggable false
22+
jniDebugBuild false
23+
zipAlign true
24+
}
25+
}
26+
packagingOptions {
27+
exclude 'META-INF/LICENSE.txt'
28+
exclude 'META-INF/NOTICE.txt'
29+
}
30+
}
31+
32+
dependencies {
33+
compile 'commons-io:commons-io:2.4'
34+
compile 'commons-lang:commons-lang:2.6'
35+
compile 'commons-codec:commons-codec:1.3'
36+
compile 'com.google.code.gson:gson:2.2.4'
37+
compile 'net.danlew:android.joda:2.3.2'
38+
compile 'com.squareup.picasso:picasso:2.3.2'
39+
compile 'com.squareup.retrofit:retrofit:1.6.0'
40+
compile 'com.jakewharton:butterknife:5.1.1'
41+
compile 'com.github.chrisbanes.actionbarpulltorefresh:library:0.9.3'
42+
compile 'de.keyboardsurfer.android.widget:crouton:1.8.4'
43+
compile 'com.android.support:support-v4:19.1.0'
44+
compile fileTree(dir: 'libs', include: ['*.jar'])
45+
}
46+
47+
task copyNativeLibs(type: Copy) {
48+
from(new File(getProjectDir(), 'native-libs')) { include '**/*.so' }
49+
into new File(buildDir, 'native-libs')
50+
}
51+
52+
tasks.withType(Compile) { compileTask -> compileTask.dependsOn copyNativeLibs }
53+
54+
clean.dependsOn 'cleanCopyNativeLibs'
55+
56+
tasks.withType(PackageApplication) { pkgTask ->
57+
pkgTask.jniFolders = new HashSet<File>()
58+
pkgTask.jniFolders.add(new File(buildDir, 'native-libs'))
59+
}

app/libs/gravatar-android-1.0.jar

6.32 KB
Binary file not shown.
458 KB
Binary file not shown.
462 KB
Binary file not shown.

app/native-libs/mips/libbypass.so

808 KB
Binary file not shown.

app/native-libs/x86/libbypass.so

618 KB
Binary file not shown.

app/proguard-rules.txt

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
# Add project specific ProGuard rules here.
2+
# By default, the flags in this file are appended to flags specified
3+
# in D:/Program Files/Android-Studio/sdk/tools/proguard/proguard-android.txt
4+
# You can edit the include path and order by changing the ProGuard
5+
# include property in project.properties.
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+
-keep class * extends java.util.ListResourceBundle {
20+
protected Object[][] getContents();
21+
}
22+
23+
-keep public class com.google.android.gms.common.internal.safeparcel.SafeParcelable {
24+
public static final *** NULL;
25+
}
26+
27+
-keepnames @com.google.android.gms.common.annotation.KeepName class *
28+
-keepclassmembernames class * {
29+
@com.google.android.gms.common.annotation.KeepName *;
30+
}
31+
32+
-keepnames class * implements android.os.Parcelable {
33+
public static final ** CREATOR;
34+
}
35+
36+
-dontwarn com.squareup.okhttp.**
37+
38+
-keep class retrofit.** { *; }
39+
-dontwarn retrofit.**
40+
41+
-dontwarn butterknife.internal.**
42+
-keep class **$$ViewInjector { *; }
43+
-keepnames class * { @butterknife.InjectView *;}

0 commit comments

Comments
 (0)