-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Further directory structure standardization
Remove unused libs Created module 'app' Root module is now a super project for :app Remove autogenerated gradle/ Fix libpng warning (iCCP: Not recognizing known sRGB profile that has been edited) -Fixed via ImageMagick (convert -strip -Fixes CVE-2014-9495[1] Add settings.gradle
- Loading branch information
1 parent
a90f2c8
commit 9d48d5f
Showing
392 changed files
with
300 additions
and
288 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,90 @@ | ||
buildscript { | ||
repositories { | ||
mavenCentral() | ||
} | ||
dependencies { | ||
classpath 'com.android.tools.build:gradle:1.1.0-rc3' | ||
classpath 'com.jakewharton.hugo:hugo-plugin:1.1.0' | ||
} | ||
} | ||
apply plugin: 'com.android.application' | ||
apply plugin: 'hugo' | ||
apply plugin: 'checkstyle' | ||
|
||
repositories { | ||
mavenCentral() | ||
} | ||
|
||
dependencies { | ||
compile files('libs/android-support-v4.jar') | ||
compile files('libs/libGoogleAnalyticsServices.jar') | ||
compile files('libs/annotations.jar') | ||
compile 'com.nineoldandroids:library:2.4.0' | ||
compile 'com.google.code.gson:gson:2.3.1' | ||
compile 'com.mcxiaoke.volley:library:1.0.10' | ||
compile 'de.greenrobot:eventbus:2.4.0' | ||
compile 'joda-time:joda-time:2.7' | ||
compile 'com.nhaarman.listviewanimations:lib-core:3.1.0@aar' | ||
compile 'com.nhaarman.listviewanimations:lib-core-slh:3.1.0@aar' | ||
compile 'se.emilsjolander:stickylistheaders:2.5.2' | ||
} | ||
|
||
android { | ||
compileSdkVersion 21 | ||
buildToolsVersion '21.1.2' | ||
// compile Using Java 7 | ||
compileOptions { | ||
sourceCompatibility JavaVersion.VERSION_1_7 | ||
targetCompatibility JavaVersion.VERSION_1_7 | ||
} | ||
sourceSets { | ||
main { | ||
// accept defaut file structure of android plugin | ||
} | ||
} | ||
signingConfigs { | ||
release {} | ||
} | ||
buildTypes { | ||
release { | ||
minifyEnabled false | ||
proguardFile 'proguard-project.txt' | ||
signingConfig signingConfigs.release | ||
lintOptions { | ||
abortOnError false | ||
} | ||
} | ||
} | ||
defaultConfig {} | ||
productFlavors { | ||
} | ||
} | ||
|
||
// config the style checks to run during the testing phase | ||
check.dependsOn 'checkstyle' | ||
|
||
task checkstyle(type: Checkstyle) { | ||
configFile file("${project.rootDir}/config/checkstyle/checkstyle.xml") | ||
source 'src' | ||
include "**/*.java" | ||
exclude "**/gen/**" | ||
classpath = files() | ||
} | ||
|
||
def Properties props = new Properties() | ||
def File signingFile = new File('signing.properties') | ||
|
||
if (signingFile.exists()) { | ||
props.load(new FileInputStream(signingFile)) | ||
} | ||
if (props.containsKey('storeFile') && | ||
props.containsKey('storePassword') && | ||
props.containsKey('keyAlias') && | ||
props.containsKey('keyPassword')) { | ||
android.signingConfigs.release.storeFile = file(props['storeFile']) | ||
android.signingConfigs.release.storePassword = props['storePassword'] | ||
android.signingConfigs.release.keyAlias = props['keyAlias'] | ||
android.signingConfigs.release.keyPassword = props['keyPassword'] | ||
} else { | ||
android.buildTypes.release.signingConfig = null | ||
} |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Add project specific ProGuard rules here. | ||
# By default, the flags in this file are appended to flags specified | ||
# in /Users/jonathan.stanford/bin/android-sdk-macosx/tools/proguard/proguard-android.txt | ||
# You can edit the include path and order by changing the proguardFiles | ||
# directive in build.gradle. | ||
# | ||
# For more details, see | ||
# http://developer.android.com/guide/developing/tools/proguard.html | ||
|
||
# Add any project specific keep options here: | ||
|
||
# If your project uses WebView with JS, uncomment the following | ||
# and specify the fully qualified class name to the JavaScript interface | ||
# class: | ||
#-keepclassmembers class fqcn.of.javascript.interface.for.webview { | ||
# public *; | ||
#} |
13 changes: 13 additions & 0 deletions
13
app/src/androidTest/java/com/jbirdvegas/mgerrit/ApplicationTest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
package com.jbirdvegas.mgerrit; | ||
|
||
import android.app.Application; | ||
import android.test.ApplicationTestCase; | ||
|
||
/** | ||
* <a href="http://d.android.com/tools/testing/testing_android.html">Testing Fundamentals</a> | ||
*/ | ||
public class ApplicationTest extends ApplicationTestCase<Application> { | ||
public ApplicationTest() { | ||
super(Application.class); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...jbirdvegas/mgerrit/ChangelogActivity.java → ...mgerrit/activities/ChangelogActivity.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.