diff --git a/app/build.gradle b/app/build.gradle index 03495ca..7a75f77 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -1,4 +1,5 @@ apply plugin: 'com.android.application' +apply from: "../artifacts.gradle" android { compileSdkVersion 22 diff --git a/artifacts.gradle b/artifacts.gradle new file mode 100644 index 0000000..fb3691b --- /dev/null +++ b/artifacts.gradle @@ -0,0 +1,26 @@ +android.applicationVariants.all { variant -> + def appName + + //Check if an applicationName property is supplied; if not use the name of the parent project. + if (project.hasProperty("applicationName")) { + appName = applicationName + } else { + appName = parent.name + + } + + variant.outputs.each { output -> + def newApkName + def baseName = (output.baseName.equalsIgnoreCase("release") ? '' : "-${output.baseName}" ) + + //If there's no ZipAlign task it means that our artifact will be unaligned and we need to mark it as such. + if (output.zipAlign) { + newApkName = "${appName}-${variant.versionName}${baseName}.apk" + + } else { + newApkName = "${appName}-${variant.versionName}${baseName}-unaligned.apk" + + } + output.outputFile = new File(output.outputFile.parent, newApkName) + } +} \ No newline at end of file diff --git a/gradle.properties b/gradle.properties index 1d3591c..c0adf07 100644 --- a/gradle.properties +++ b/gradle.properties @@ -15,4 +15,6 @@ # When configured, Gradle will run in incubating parallel mode. # This option should only be used with decoupled projects. More details, visit # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects -# org.gradle.parallel=true \ No newline at end of file +# org.gradle.parallel=true + +applicationName=EllipticalStepsMiles \ No newline at end of file diff --git a/images/ellipticalstepsmiles-qr.png b/images/ellipticalstepsmiles-qr.png new file mode 100644 index 0000000..3819a7c Binary files /dev/null and b/images/ellipticalstepsmiles-qr.png differ diff --git a/images/ellipticalstepsmiles.gif b/images/ellipticalstepsmiles.gif new file mode 100644 index 0000000..c2129fa Binary files /dev/null and b/images/ellipticalstepsmiles.gif differ diff --git a/images/feature_graphic_1024x500.png b/images/feature_graphic_1024x500.png new file mode 100644 index 0000000..565aaad Binary files /dev/null and b/images/feature_graphic_1024x500.png differ diff --git a/images/promo_graphic_180x120.png b/images/promo_graphic_180x120.png new file mode 100644 index 0000000..835bd75 Binary files /dev/null and b/images/promo_graphic_180x120.png differ diff --git a/images/screenshots/Screenshot_3.png b/images/screenshots/Screenshot_3.png index 071e7fd..33fc8bf 100644 Binary files a/images/screenshots/Screenshot_3.png and b/images/screenshots/Screenshot_3.png differ diff --git a/images/screenshots/Screenshot_5.png b/images/screenshots/Screenshot_5.png index b2018f7..071e7fd 100644 Binary files a/images/screenshots/Screenshot_5.png and b/images/screenshots/Screenshot_5.png differ diff --git a/images/screenshots/Screenshot_6.png b/images/screenshots/Screenshot_6.png deleted file mode 100644 index 33fc8bf..0000000 Binary files a/images/screenshots/Screenshot_6.png and /dev/null differ diff --git a/images/screenshots/tablet_1.png b/images/screenshots/tablet_1.png new file mode 100644 index 0000000..4e03df5 Binary files /dev/null and b/images/screenshots/tablet_1.png differ diff --git a/images/screenshots/tablet_2.png b/images/screenshots/tablet_2.png new file mode 100644 index 0000000..93bdb6e Binary files /dev/null and b/images/screenshots/tablet_2.png differ diff --git a/images/screenshots/tablet_3.png b/images/screenshots/tablet_3.png new file mode 100644 index 0000000..156cb0f Binary files /dev/null and b/images/screenshots/tablet_3.png differ diff --git a/images/screenshots/tablet_4.png b/images/screenshots/tablet_4.png new file mode 100644 index 0000000..d65b32d Binary files /dev/null and b/images/screenshots/tablet_4.png differ diff --git a/images/screenshots/tablet_5.png b/images/screenshots/tablet_5.png new file mode 100644 index 0000000..dbdb5bd Binary files /dev/null and b/images/screenshots/tablet_5.png differ