Skip to content

Instantly share code, notes, and snippets.

View the-Sreejith's full-sized avatar
💭
Open for collaboration

Sreejith Sreejayan the-Sreejith

💭
Open for collaboration
View GitHub Profile
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
Properties localProps = new Properties()
File localPropsFile = project.rootProject.file('local.properties')
if (localPropsFile.exists()) {
localProps.load(localPropsFile.newDataInputStream())
}
def isTravis = String.valueOf(localProps.getProperty('travis.isTravis')) ?: System.getenv("TRAVIS") ?: "false"