Created
June 24, 2019 11:52
-
-
Save hopewise/bc9c133a67cc48b95b687dd39175c2aa to your computer and use it in GitHub Desktop.
Build gradle without signing info to be used with MS App Center
This file contains hidden or 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
repositories { | |
maven { url 'https://raw.github.com/applanga/sdk-android/master/maven/releases/' } | |
maven { url 'https://jitpack.io' } | |
} | |
buildscript { | |
repositories { | |
jcenter() | |
google() | |
maven { | |
url 'https://raw.github.com/applanga/sdk-android/master/maven/releases/' | |
} | |
} | |
dependencies { | |
classpath 'com.android.tools.build:gradle:3.1.3' | |
classpath "io.realm:realm-gradle-plugin:5.1.0" | |
classpath 'org.ajoberstar:grgit:2.0.0' | |
classpath 'com.applanga.android:plugin:2.0.91' | |
} | |
} | |
apply plugin: 'com.android.application' | |
apply plugin: 'org.ajoberstar.grgit' | |
android { | |
compileSdkVersion 26 | |
defaultConfig { | |
applicationId "com.vsac.ankasani.vsacas" | |
minSdkVersion 26 | |
targetSdkVersion 26 | |
versionCode 1 | |
versionName "1.0" | |
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" | |
manifestPlaceholders = [GSM_SENDER_ID: "${System.env.GSM_SENDER_ID}", GOOGLE_MAPS_API_KEY: "${System.env.GOOGLE_MAPS_API_KEY}"] | |
} | |
buildTypes { | |
release { | |
minifyEnabled false | |
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' | |
//Other optimizations | |
debuggable false | |
jniDebuggable false | |
renderscriptDebuggable false | |
pseudoLocalesEnabled false | |
zipAlignEnabled false | |
shrinkResources false | |
} | |
debug { | |
debuggable true | |
} | |
staging { | |
initWith debug | |
manifestPlaceholders = [hostName:"internal.example.com"] | |
applicationIdSuffix ".debugStaging" | |
} | |
} | |
productFlavors { | |
} | |
} | |
dependencies { | |
implementation fileTree(include: ['*.jar'], dir: 'libs') | |
implementation 'com.android.support:appcompat-v7:26.1.0' | |
implementation 'com.android.support:design:26.1.0' | |
testImplementation 'junit:junit:4.12' | |
androidTestImplementation 'com.android.support.test:runner:1.0.1' | |
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.1' | |
androidTestCompile('com.microsoft.appcenter:espresso-test-extension:1.2') | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment