diff --git a/metadata/com.gh4a.txt b/metadata/com.gh4a.txt index 2d1b8090ca..2bdc379ce9 100644 --- a/metadata/com.gh4a.txt +++ b/metadata/com.gh4a.txt @@ -25,6 +25,8 @@ report any issues to the issue tracker. Newer versions exist elsewhere, but now include proprietary libraries, so updates are unlikely here. + +[https://github.com/slapperwan/gh4a/blob/master/CHANGES CHANGES] . Repo Type:git @@ -36,8 +38,17 @@ Build:3.6,36 gradle=yes prebuild=rm -rf libs/android-support-v4.jar -Auto Update Mode:None -Update Check Mode:Static -Current Version:3.6 -Current Version Code:36 +Build:3.7.1,38 + commit=v3.7.1 + patch=mint.patch,gradle.patch + gradle=yes + srclibs=GH4AGitHubAPI@3d1878bd48d9aa3817a91b5a193b600c31e0406 + prebuild=rm -rf libs/*.jar && \ + cp -a $$GH4AGitHubAPI$$/src/org src + + +Auto Update Mode:None +Update Check Mode:Tags +Current Version:3.7.1 +Current Version Code:38 diff --git a/metadata/com.gh4a/gradle.patch b/metadata/com.gh4a/gradle.patch new file mode 100644 index 0000000000..1dcece47da --- /dev/null +++ b/metadata/com.gh4a/gradle.patch @@ -0,0 +1,30 @@ +diff --git a/build.gradle b/build.gradle +index 7e2eff9..75b7624 100644 +--- a/build.gradle ++++ b/build.gradle +@@ -4,7 +4,7 @@ buildscript { + } + + dependencies { +- classpath 'com.android.tools.build:gradle:0.12.+' ++ classpath 'com.android.tools.build:gradle:1.0.0' + } + } + +@@ -37,16 +26,6 @@ android { + versionName "3.7.1" + } + +- buildTypes { +- debug { +- zipAlign true +- } +- release { +- zipAlign true +- signingConfig signingConfigs.playStore +- } +- } +- + sourceSets { + main { + manifest.srcFile 'AndroidManifest.xml' diff --git a/metadata/com.gh4a/mint.patch b/metadata/com.gh4a/mint.patch new file mode 100644 index 0000000000..67ea4ddba9 --- /dev/null +++ b/metadata/com.gh4a/mint.patch @@ -0,0 +1,45 @@ +diff --git a/build.gradle b/build.gradle +index 7e2eff9..39eed52 100644 +--- a/build.gradle ++++ b/build.gradle +@@ -10,9 +10,6 @@ buildscript { + + repositories { + maven { url 'http://dl.bintray.com/populov/maven' } +- /* The MINT jar should be present at this repo according +- to the docs, but it gives a 404 error +- maven { url "http://mint.splunk.com/gradle/" } */ + maven { url 'https://github.com/kageiit/maven-repo/raw/master' } + mavenCentral() + } +@@ -60,8 +57,6 @@ android { + dependencies { + compile fileTree(dir: 'libs', include: '*.jar') + +- /* see above +- compile "com.splunk.mint:mint:4.0" */ + compile 'com.android.support:support-v4:19.+' + compile 'com.actionbarsherlock:actionbarsherlock:4.4.0@aar' + compile 'com.viewpagerindicator:library:2.4.1@aar' +diff --git a/src/com/gh4a/Gh4Application.java b/src/com/gh4a/Gh4Application.java +index 245445e..e2da520 100644 +--- a/src/com/gh4a/Gh4Application.java ++++ b/src/com/gh4a/Gh4Application.java +@@ -46,7 +46,6 @@ import android.content.res.Configuration; + import android.graphics.Typeface; + + import com.gh4a.activities.SettingsActivity; +-import com.splunk.mint.Mint; + + /** + * The Class Gh4Application. +@@ -97,9 +96,6 @@ public class Gh4Application extends Application implements OnSharedPreferenceCha + selectTheme(prefs.getInt(SettingsActivity.KEY_THEME, Constants.Theme.DARK)); + prefs.registerOnSharedPreferenceChangeListener(this); + +- Mint.disableNetworkMonitoring(); +- Mint.initAndStartSession(this, "1e6a83ae"); +- + mPt = new PrettyTime(); + + mClient = new DefaultClient(); diff --git a/srclibs/GH4AGitHubAPI.txt b/srclibs/GH4AGitHubAPI.txt new file mode 100644 index 0000000000..a4e30a73a8 --- /dev/null +++ b/srclibs/GH4AGitHubAPI.txt @@ -0,0 +1,5 @@ +Repo Type:git +Repo:https://github.com/slapperwan/egit-github.git + +Subdir:org.eclipse.egit.github.core +