diff --git a/.gitignore b/.gitignore
index 5b46c29..a7109a5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -7,13 +7,15 @@ arch
nbandroid
private
build
-res/values/version.xml
+app/src/main/res/values/version.xml
compiler/compiler.obj
compiler/compiler.exe
compiler/test/compiler.exe
compiler/puzzles.bin
local.properties
import-summary.txt
+.keystore.jks
+.secret.gradle
*.swp
diff --git a/app/app.iml b/app/app.iml
index c07a1e8..947c09c 100644
--- a/app/app.iml
+++ b/app/app.iml
@@ -15,7 +15,7 @@
-
+
@@ -50,13 +50,14 @@
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
@@ -77,6 +78,7 @@
+
diff --git a/app/build.gradle b/app/build.gradle
index b95e484..2dd6b3e 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -1,23 +1,97 @@
apply plugin: 'com.android.application'
+//
+// Creates version.xml
+//
+task createVersionXML {
+ doLast {
+ def versionP = 'git describe --tags --long --dirty=-x --abbrev=8'
+ .execute()
+ def version = versionP.text.trim()
+ if ( versionP.exitValue() )
+ throw new GradleException("Couldn't extract version. Git exited unexpectedly.")
+
+ def githashP = 'git rev-parse HEAD'.execute()
+ def githash = githashP.text.trim()
+ if ( githashP.exitValue() )
+ throw new GradleException("Couldn't extract git_hash. Git exited unexpectedly.")
+
+ def builddate = new Date()
+
+ def versionFile = new FileWriter("app/src/main/res/values/version.xml")
+ versionFile.println( '' )
+ versionFile.println( '' )
+ versionFile.println( '' << version << '' )
+ versionFile.println( '' << githash << '' )
+ versionFile.println( '' << builddate << '' )
+ versionFile.println( '0x00010001' )
+ versionFile.println( '' )
+ versionFile.close()
+ }
+}
+preBuild.dependsOn createVersionXML
+
+//
+// Convert SVG images from art directory into PNG files.
+//
+task generateDrawablesFromArt {
+ doLast {
+ def buildDir = (new File(project.buildDir,'art')).toString()
+ def p = ('make -C app/src/main/art RES=../res TMP='+buildDir).execute()
+ p.consumeProcessOutput()
+ p.waitFor()
+ if ( p.exitValue() )
+ throw new GradleException("Generation of art failed.")
+ }
+}
+preBuild.dependsOn generateDrawablesFromArt
+
android {
compileSdkVersion 10
buildToolsVersion "21.1.1"
defaultConfig {
- applicationId "org.dyndns.vahagn.sokoban"
+ applicationId "org.vostan.sokoban"
minSdkVersion 10
targetSdkVersion 14
}
-
+ apply from: new File(getRootDir(),'/.secret.gradle')
buildTypes {
release {
runProguard true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-project.txt'
+ signingConfig signingConfigs.sokoban_release
+ }
+
+ debug {
+ applicationIdSuffix ".debug"
}
}
+
+ sourceSets {
+ /*
+ main {
+ java.srcDirs = ['src']
+
+ resources.srcDirs = ['src']
+ aidl.srcDirs = ['src']
+
+ renderscript.srcDirs = ['src']
+
+ res.srcDirs = ['res']
+ assets.srcDirs = ['assets']
+
+ }
+ */
+ debug {
+ main.manifest.srcFile "src/main/AndroidManifest-debug.xml"
+ }
+ androidTest.setRoot("src/tests")
+ }
}
+//repositories {}
+
dependencies {
compile 'com.android.support:support-v4:18.0.0'
}
diff --git a/app/src/main/AndroidManifest-debug.xml b/app/src/main/AndroidManifest-debug.xml
new file mode 100644
index 0000000..530122f
--- /dev/null
+++ b/app/src/main/AndroidManifest-debug.xml
@@ -0,0 +1,30 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml
index d87a3dd..e02136b 100644
--- a/app/src/main/AndroidManifest.xml
+++ b/app/src/main/AndroidManifest.xml
@@ -1,15 +1,15 @@
-
@@ -18,13 +18,13 @@
-
+ android:value="org.vostan.sokoban.MainMenu" />
diff --git a/app/src/main/art/Makefile b/app/src/main/art/Makefile
new file mode 100644
index 0000000..cb3e2ef
--- /dev/null
+++ b/app/src/main/art/Makefile
@@ -0,0 +1,100 @@
+XMLS = xmlstarlet ed -P -N svg=http://www.w3.org/2000/svg
+LAYER_ON = -u //*/svg:g[@inkscape:label=\"$(1)\"]/@style -v display:inline
+LAYER_OFF = -u //*/svg:g[@inkscape:label=\"$(1)\"]/@style -v display:none
+S2P = inkscape --without-gui
+SIZE = --export-width=$(1) --export-height=$(2)
+#S2P = imagemagick -background none
+#SIZE = -resize $(1)x$(2)
+
+TMP = tmp
+RES = res
+
+DIR = $(TMP) $(RES) $(RES)/drawable $(RES)/drawable-ldpi \
+ $(RES)/drawable-mdpi $(RES)/drawable-hdpi $(RES)/drawable-xhdpi
+
+png = bingo.png box.png floor.png goal.png splash.png \
+ wall.png worker.png worker_select.png
+
+pngx = icon.png icon_debug.png next.png prev.png reset.png undo.png \
+ lock.png unlock.png unlocking.png
+
+all: $(DIR)\
+ $(addprefix $(RES)/drawable/,$(png)) \
+ $(addprefix $(RES)/drawable-ldpi/,$(pngx)) \
+ $(addprefix $(RES)/drawable-mdpi/,$(pngx)) \
+ $(addprefix $(RES)/drawable-hdpi/,$(pngx)) \
+ $(addprefix $(RES)/drawable-xhdpi/,$(pngx))
+
+$(DIR) :
+ mkdir $@
+
+$(RES)/drawable/%.png : $(TMP)/%.svg
+ $(S2P) --export-png=$@ --file=$<
+
+$(RES)/drawable-ldpi/%.png : $(TMP)/%.svg
+ $(S2P) $(call SIZE,36,36) --export-png=$@ --file=$<
+
+$(RES)/drawable-mdpi/%.png : $(TMP)/%.svg
+ $(S2P) $(call SIZE,48,48) --export-png=$@ --file=$<
+
+$(RES)/drawable-hdpi/%.png : $(TMP)/%.svg
+ $(S2P) $(call SIZE,72,72) --export-png=$@ --file=$<
+
+$(RES)/drawable-xhdpi/%.png : $(TMP)/%.svg
+ $(S2P) $(call SIZE,96,96) --export-png=$@ --file=$<
+
+$(TMP)/%.svg : %.svg
+ cp $< $@
+
+$(TMP)/icon.svg : icon.svg
+ $(XMLS) $(call LAYER_OFF,"Debug") $< > $@
+
+$(TMP)/icon_debug.svg : icon.svg
+ $(XMLS) $(call LAYER_ON,"Debug") $< > $@
+
+$(TMP)/worker.svg : worker.svg
+ $(XMLS) $(call LAYER_OFF,"Hands") $< > $@
+
+$(TMP)/worker_select.svg : worker.svg
+ $(XMLS) $(call LAYER_ON,"Hands") $< > $@
+
+$(TMP)/floor.svg : floor.svg
+ $(XMLS) $(call LAYER_OFF,"Goal") $< > $@
+
+$(TMP)/goal.svg : floor.svg
+ $(XMLS) $(call LAYER_ON,"Goal") $< > $@
+
+$(TMP)/lock.svg : lock.svg
+ $(XMLS) $(call LAYER_ON,"lock") $< > $@
+
+$(TMP)/unlock.svg : lock.svg
+ $(XMLS) $(call LAYER_ON,"unlock") $< > $@
+
+$(TMP)/unlocking.svg : lock.svg
+ $(XMLS) $(call LAYER_ON,"unlocking") $< > $@
+
+$(TMP)/prev.svg : buttons.svg
+ $(XMLS) $(call LAYER_ON,"Prev Smooth") $< > $@
+
+$(TMP)/next.svg : buttons.svg
+ $(XMLS) $(call LAYER_ON,"Next Smooth") $< > $@
+
+$(TMP)/reset.svg : buttons.svg
+ $(XMLS) $(call LAYER_ON,"Reset Smooth") $< > $@
+
+$(TMP)/undo.svg : buttons.svg
+ $(XMLS) $(call LAYER_ON,"Undo Smooth") $< > $@
+
+
+
+# def cfg = 'imagemagick -background none -resize '+w+'x'+h+' - ' + png
+# def sizes = [ 'ldpi':[36,36],
+# 'mdpi':[48,48],
+# 'hdpi':[72,72],
+# 'xhdpi':[96,96] ]
+
+# def sizes2= [ 'ldpi':[22,36],
+# 'mdpi':[29,48],
+# 'hdpi':[43,72],
+# 'xhdpi':[58,96] ]
+
diff --git a/art/bingo.svg b/app/src/main/art/bingo.svg
similarity index 62%
rename from art/bingo.svg
rename to app/src/main/art/bingo.svg
index c9719a3..ad79ad4 100644
--- a/art/bingo.svg
+++ b/app/src/main/art/bingo.svg
@@ -9,11 +9,11 @@
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
- width="744.09448819"
- height="1052.3622047"
+ width="500"
+ height="500"
id="svg2"
version="1.1"
- inkscape:version="0.48.4 r9939"
+ inkscape:version="0.48.5 r10040"
sodipodi:docname="bingo.svg"
inkscape:export-filename="C:\Users\vahagnk\devel\_private\org.dyndns.vahagn.sokoban\art\bingo.png"
inkscape:export-xdpi="89.873062"
@@ -27,21 +27,25 @@
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
- inkscape:zoom="1.4283557"
- inkscape:cx="534.28726"
- inkscape:cy="478.14229"
+ inkscape:zoom="0.71417785"
+ inkscape:cx="153.09914"
+ inkscape:cy="72.742182"
inkscape:document-units="px"
inkscape:current-layer="layer1"
showgrid="true"
inkscape:snap-global="false"
- inkscape:window-width="1920"
- inkscape:window-height="1018"
- inkscape:window-x="-8"
+ inkscape:window-width="1680"
+ inkscape:window-height="1028"
+ inkscape:window-x="1672"
inkscape:window-y="-8"
inkscape:window-maximized="1">
+ id="grid3079"
+ empspacing="5"
+ visible="true"
+ enabled="true"
+ snapvisiblegridlinesonly="true" />
@@ -51,115 +55,116 @@
image/svg+xml
-
+
+ id="layer1"
+ transform="translate(0,-552.36217)">
+ x="-0.22199483"
+ y="552.52313" />
+ x="17.019796"
+ y="555.72852" />
+ x="-0.39702842"
+ y="552.46313" />
+ x="-0.42704245"
+ y="614.60229" />
+ x="-0.42704245"
+ y="677.21362" />
+ x="-0.36698386"
+ y="741.00989" />
+ x="-0.52222675"
+ y="803.52155" />
+ x="-0.3503823"
+ y="866.67078" />
+ x="-0.24752279"
+ y="930.15588" />
+ x="-0.44684836"
+ y="992.48291" />
diff --git a/art/box.svg b/app/src/main/art/box.svg
similarity index 70%
rename from art/box.svg
rename to app/src/main/art/box.svg
index 66aa659..f707e02 100644
--- a/art/box.svg
+++ b/app/src/main/art/box.svg
@@ -9,11 +9,11 @@
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
- width="744.09448819"
- height="1052.3622047"
+ width="500"
+ height="500"
id="svg2"
version="1.1"
- inkscape:version="0.48.4 r9939"
+ inkscape:version="0.48.5 r10040"
sodipodi:docname="box.svg"
inkscape:export-filename="C:\Users\vahagnk\devel\_private\org.dyndns.vahagn.sokoban\art\box.png"
inkscape:export-xdpi="89.873062"
@@ -27,21 +27,25 @@
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
- inkscape:zoom="1.4283557"
- inkscape:cx="313.36866"
- inkscape:cy="490.25008"
+ inkscape:zoom="1.1301775"
+ inkscape:cx="56.319409"
+ inkscape:cy="241.66791"
inkscape:document-units="px"
inkscape:current-layer="layer1"
showgrid="true"
inkscape:snap-global="false"
- inkscape:window-width="1920"
- inkscape:window-height="1018"
- inkscape:window-x="-8"
+ inkscape:window-width="1680"
+ inkscape:window-height="1028"
+ inkscape:window-x="1672"
inkscape:window-y="-8"
inkscape:window-maximized="1">
+ id="grid3079"
+ empspacing="5"
+ visible="true"
+ enabled="true"
+ snapvisiblegridlinesonly="true" />
@@ -58,108 +62,109 @@
+ id="layer1"
+ transform="translate(0,-552.36217)">
+ x="-0.12822925"
+ y="552.77655" />
+ x="17.113562"
+ y="555.98193" />
+ x="-0.3032628"
+ y="552.71649" />
+ x="-0.33327684"
+ y="614.85571" />
+ x="-0.33327684"
+ y="677.46704" />
+ x="-0.27321824"
+ y="741.26331" />
+ x="-0.42846116"
+ y="803.77496" />
+ x="-0.25661668"
+ y="866.92419" />
+ x="-0.1537572"
+ y="930.4093" />
+ x="-0.35308275"
+ y="992.73633" />
diff --git a/art/undo_reset.svg b/app/src/main/art/buttons.svg
similarity index 97%
rename from art/undo_reset.svg
rename to app/src/main/art/buttons.svg
index 4548495..268ae20 100644
--- a/art/undo_reset.svg
+++ b/app/src/main/art/buttons.svg
@@ -14,8 +14,8 @@
height="500"
id="svg3081"
version="1.1"
- inkscape:version="0.48.4 r9939"
- sodipodi:docname="undo_reset.svg"
+ inkscape:version="0.48.5 r10040"
+ sodipodi:docname="buttons.svg"
inkscape:export-filename="C:\Users\vahagnk\devel\_private\org.dyndns.vahagn.sokoban\res\drawable-xhdpi\prev.png"
inkscape:export-xdpi="17.280001"
inkscape:export-ydpi="17.280001">
@@ -27,15 +27,15 @@
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="1.29"
- inkscape:cx="306.39531"
+ inkscape:cx="128.10073"
inkscape:cy="230.02585"
inkscape:document-units="px"
- inkscape:current-layer="layer4"
+ inkscape:current-layer="g4047"
showgrid="true"
inkscape:snap-global="false"
- inkscape:window-width="1920"
- inkscape:window-height="1018"
- inkscape:window-x="-8"
+ inkscape:window-width="1680"
+ inkscape:window-height="1028"
+ inkscape:window-x="1672"
inkscape:window-y="-8"
inkscape:window-maximized="1"
showguides="true"
@@ -243,7 +243,7 @@
image/svg+xml
-
+
@@ -322,7 +322,7 @@
sodipodi:insensitive="true"
inkscape:groupmode="layer"
id="g4047"
- inkscape:label="Undo Smoth"
+ inkscape:label="Undo Smooth"
transform="translate(0,-552.36217)"
style="display:none">
+ style="display:none">
+ inkscape:window-maximized="1"
+ borderlayer="true"
+ inkscape:showpageshadow="false"
+ showborder="true">
image/svg+xml
-
+
@@ -253,9 +255,9 @@
inkscape:groupmode="layer"
id="layer5"
inkscape:label="Goal"
- style="opacity:0.33628319;display:inline">
+ style="opacity:1;display:inline">
image/svg+xml
-
+
@@ -318,6 +318,28 @@
inkscape:connector-curvature="0"
sodipodi:nodetypes="ccccc" />
+
+
+
+
+
+
+ style="fill:#ffd42a;fill-opacity:1;fill-rule:nonzero;stroke:none;display:inline" />
+ style="fill:#ff9600;fill-opacity:1;fill-rule:nonzero;stroke:none;display:inline" />
+ style="fill:#ffb82a;fill-opacity:1;fill-rule:nonzero;stroke:#ffa600;stroke-width:1.18690801px;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" />
+ style="fill:#ffc52a;fill-opacity:1;fill-rule:nonzero;stroke:#ffa600;stroke-width:1.18690801;stroke-linejoin:round;stroke-opacity:1" />
-
-
-
-
-
-
diff --git a/art/lock.svg b/app/src/main/art/lock.svg
similarity index 78%
rename from art/lock.svg
rename to app/src/main/art/lock.svg
index 3d284f9..dacabe4 100644
--- a/art/lock.svg
+++ b/app/src/main/art/lock.svg
@@ -12,7 +12,7 @@
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
id="svg2985"
version="1.1"
- inkscape:version="0.48.4 r9939"
+ inkscape:version="0.48.5 r10040"
width="500"
height="500"
sodipodi:docname="lock.svg"
@@ -27,14 +27,35 @@
image/svg+xml
-
+
+
+
+
+
+
+
+
+
+
+ inkscape:current-layer="g3013" />
+
+
+
diff --git a/art/prev_next.svg b/app/src/main/art/prev_next.svg
similarity index 100%
rename from art/prev_next.svg
rename to app/src/main/art/prev_next.svg
diff --git a/art/splash.svg b/app/src/main/art/splash.svg
similarity index 74%
rename from art/splash.svg
rename to app/src/main/art/splash.svg
index 8702ba2..532940a 100644
--- a/art/splash.svg
+++ b/app/src/main/art/splash.svg
@@ -12,15 +12,15 @@
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="500"
- height="500"
+ height="800"
id="svg2"
version="1.1"
- inkscape:version="0.48.4 r9939"
- sodipodi:docname="icon.svg"
- enable-background="new"
+ inkscape:version="0.48.5 r10040"
+ sodipodi:docname="splash.svg"
inkscape:export-filename="C:\Users\vahagnk\devel\_private\org.dyndns.vahagn.sokoban\art\icon3_36.png"
inkscape:export-xdpi="6.48"
- inkscape:export-ydpi="6.48">
+ inkscape:export-ydpi="6.48"
+ style="enable-background:new">
+ gradientTransform="matrix(1.437626,0,0,1.2124367,-213.79316,-215.94536)" />
+ gradientTransform="matrix(1.161917,0,0,1.2124367,-24.542962,-218.37753)" />
+ gradientTransform="matrix(1.161917,0,0,1.2124367,-24.087456,-316.707)" />
+ gradientTransform="matrix(1.161917,0,0,1.2124367,-24.087456,-316.707)" />
+ gradientTransform="matrix(1.161917,0,0,1.2124367,-24.087456,-199.36504)" />
image/svg+xml
-
+
+ inkscape:label="big_box"
+ style="opacity:0.2964602;display:none"
+ transform="translate(0,300)">
@@ -263,11 +264,11 @@
sodipodi:nodetypes="ccccc"
inkscape:connector-curvature="0"
id="path4186-8"
- d="m 417.63317,2.2210102 83.52302,0 -0.0777,497.1399998 -82.62207,0 z"
+ d="m 417.63317,-145.77899 83.52302,0 -0.0777,497.14 -82.62207,0 z"
style="fill:#ffb82a;fill-opacity:1;stroke:#ffa600;stroke-width:3.07642198px;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1;display:inline" />
@@ -275,7 +276,7 @@
sodipodi:nodetypes="ccccc"
inkscape:connector-curvature="0"
id="path4193-1"
- d="m 2.8012271,418.10211 498.2771329,0 0,81.2589 -498.2771329,0 z"
+ d="m 2.8012271,270.10211 498.2771329,0 0,81.2589 -498.2771329,0 z"
style="fill:#ffc52a;fill-opacity:1;stroke:#ffa600;stroke-width:3.07642198;stroke-linejoin:round;stroke-opacity:1;display:inline" />
+ y="-63.447426" />
+ y="-63.447334" />
+ y="-63.447426" />
+
+ Բանվոր
+
@@ -340,11 +359,12 @@
@@ -366,11 +386,11 @@
sodipodi:nodetypes="ccccc"
inkscape:connector-curvature="0"
id="path4186"
- d="m 464.97533,279.78344 32.71853,0 -0.0305,188.90069 -32.36559,0 z"
+ d="m 464.97533,141.78344 32.71853,0 -0.0305,188.90069 -32.36559,0 z"
style="fill:#ffb82a;fill-opacity:1;stroke:#ffa600;stroke-width:1.18690801px;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" />
@@ -378,7 +398,7 @@
sodipodi:nodetypes="ccccc"
inkscape:connector-curvature="0"
id="path4193"
- d="m 302.47296,437.80778 195.19042,0 0,30.87635 -195.19042,0 z"
+ d="m 302.47296,299.80778 195.19042,0 0,30.87635 -195.19042,0 z"
style="fill:#ffc52a;fill-opacity:1;stroke:#ffa600;stroke-width:1.18690801;stroke-linejoin:round;stroke-opacity:1" />
+ y="173.06735" />
+ y="173.06738" />
+ y="173.06735" />
@@ -479,11 +499,11 @@
inkscape:groupmode="layer"
id="layer1"
style="display:inline"
- transform="translate(0,-552.36218)"
+ transform="translate(0,-252.36218)"
sodipodi:insensitive="true">
@@ -493,23 +513,24 @@
width="25.747025"
height="1.6119893e-006"
x="362.77811"
- y="824.87097" />
+ y="686.87097" />
@@ -517,24 +538,25 @@
diff --git a/art/wall.svg b/app/src/main/art/wall.svg
similarity index 100%
rename from art/wall.svg
rename to app/src/main/art/wall.svg
diff --git a/art/worker.svg b/app/src/main/art/worker.svg
similarity index 87%
rename from art/worker.svg
rename to app/src/main/art/worker.svg
index c852896..666c8aa 100644
--- a/art/worker.svg
+++ b/app/src/main/art/worker.svg
@@ -13,7 +13,7 @@
height="500"
id="svg3081"
version="1.1"
- inkscape:version="0.48.4 r9939"
+ inkscape:version="0.48.5 r10040"
sodipodi:docname="worker.svg"
inkscape:export-filename="C:\Users\vahagnk\devel\_private\org.dyndns.vahagn.sokoban\art\worker_select.png"
inkscape:export-xdpi="90"
@@ -36,10 +36,10 @@
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="1.1313708"
- inkscape:cx="66.823146"
+ inkscape:cx="-34.823458"
inkscape:cy="275.12227"
inkscape:document-units="px"
- inkscape:current-layer="layer1"
+ inkscape:current-layer="layer3"
showgrid="true"
inkscape:snap-global="false"
inkscape:window-width="1920"
@@ -70,7 +70,7 @@
- Free Sokoban
- Debug Sokoban
+ Banvor
+ Banvor Debug
Menu
play_activity
Begin
diff --git a/gradle/wrapper/gradle-wrapper.jar b/gradle/wrapper/gradle-wrapper.jar
new file mode 100644
index 0000000..8c0fb64
Binary files /dev/null and b/gradle/wrapper/gradle-wrapper.jar differ
diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties
new file mode 100644
index 0000000..ffaa281
--- /dev/null
+++ b/gradle/wrapper/gradle-wrapper.properties
@@ -0,0 +1,6 @@
+#Wed Apr 10 15:27:10 PDT 2013
+distributionBase=GRADLE_USER_HOME
+distributionPath=wrapper/dists
+zipStoreBase=GRADLE_USER_HOME
+zipStorePath=wrapper/dists
+distributionUrl=https\://services.gradle.org/distributions/gradle-2.1-all.zip
diff --git a/version.bat b/version.bat
deleted file mode 100644
index 3e246cb..0000000
--- a/version.bat
+++ /dev/null
@@ -1,31 +0,0 @@
-@echo off
-rem
-rem Copyright 2005-2013 Vahagn Khachatryan.
-rem
-rem This program is free software; you can redistribute it and/or modify
-rem it under the terms of the GNU General Public License as published by
-rem the Free Software Foundation; either version 2 of the License, or
-rem (at your option) any later version.
-rem
-rem This program is distributed in the hope that it will be useful,
-rem but WITHOUT ANY WARRANTY; without even the implied warranty of
-rem MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-rem GNU General Public License for more details.
-rem
-
-rem
-rem Generate res\values\version.xml for windows.
-rem
-set VERSION_XML=app\src\main\res\values\version.xml
-echo on
-
-@echo ^ > %VERSION_XML%
-@echo ^ >> %VERSION_XML%
-@for /F "delims=" %%i in ('"git describe --tags --long --dirty=-x --abbrev=8"') do set VERSION=%%i
-echo ^%VERSION%^ >> %VERSION_XML%
-@for /F "delims=" %%i in ('"git rev-parse HEAD"') do set GITHASH=%%i
-echo ^%GITHASH%^ >> %VERSION_XML%
-@for /F "delims=" %%i in ('"%USERPROFILE%\bin\date.exe -R"') do set BUILDDATE=%%i
-echo ^%BUILDDATE%^ >> %VERSION_XML%
-@echo ^ >> %VERSION_XML%
-