Skip to content

Instantly share code, notes, and snippets.

@framundo
framundo / BaseConfiguration.java
Last active August 29, 2015 14:22
Product variants
public class BaseConfiguration {
public static final String API_URL = "https://someapi.wolox.com.ar";
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
debug {
signingConfig null
}
}
signingConfigs {
stage {
storeFile file('keystore/stage.keystore')
storePassword 'android'
keyAlias 'androiddebugkey'
keyPassword 'android'
}
production {
storeFile file('keystore/playstore.keystore')
storePassword store_password
ext.key_alias='playstore'
ext.key_password='playstore'
ext.store_password='playstore'
apply from: 'keystore.gradle'
productFlavors {
stage {
signingConfig signingConfigs.stage
applicationId defaultConfig.applicationId + ".stage"
versionName defaultConfig.versionName + "-stage"
}
production {
signingConfig signingConfigs.production
}
public class BaseConfiguration {
public static final String API_URL = "https://someapi.wolox.com.ar";
}
public class Configuration extends BaseConfiguration {
public static final int ITEMS_PER_PAGE = 5;
}
@framundo
framundo / README.md
Last active June 8, 2022 23:31
Android README example

Android Example Application

This is an example Android Application README to show briefly the sections your app README should contain.

Installation

Clone this repository and import into Android Studio

git clone git@github.com:wolox/<reponame>.git
@framundo
framundo / Android OpenGL 2.0.md
Last active April 12, 2016 21:54
Android OpenGL 2.0

Basic Android OpenGL 2.0 usage