Permalink
Fetching contributors…
Cannot retrieve contributors at this time
76 lines (67 sloc) 2.04 KB
// Top-level build file where you can add configuration options common to all sub-projects/modules.
//
// Usage:
// * gradlew install Build
// * gradlew bintrayUpload Upload to Bintray
// * gradlew :module:install Build a specific module
// * gradlew :module:bintrayUpload Upload a specific module to Bintray
//
// New release TO-DO:
// * Update version in gradle and doc
// * Update changelog
// * Build and test samples
// * Install library
// * Publish to Bintray
// * Commit
// * Add tag
// * Push
// * Merge to master
buildscript {
ext {
majorVersion = 0 // max two digits
minorVersion = 9 // max two digits
patchVersion = 0 // max two digits
buildVersion = 0 // max three digits
androidArchVersion = "1.1.1"
androidSupportVersion = "27.1.1"
gsonVersion = "2.8.5"
leakCanaryVersion = "1.5.4"
okHttpVersion = "3.10.0"
retrofitVersion = "2.4.0"
rxAndroidVersion = "2.0.2"
rxJavaVersion = "2.1.16"
rxRelayVersion = "2.0.0"
bintrayRepo = "maven"
publishedGroupId = "org.alfonz"
libraryVersion = "${majorVersion}.${minorVersion}.${patchVersion}"
libraryDescription = "Mr. Alfonz is here to help you build your Android app, make a development process easier and avoid boilerplate code."
siteUrl = "https://github.com/petrnohejl/Alfonz"
gitUrl = "https://github.com/petrnohejl/Alfonz.git"
developerId = "alfonz"
developerName = "Alfonz"
developerEmail = ""
licenseName = "The Apache Software License, Version 2.0"
licenseUrl = "http://www.apache.org/licenses/LICENSE-2.0.txt"
allLicenses = ["Apache-2.0"]
}
repositories {
google()
jcenter()
}
dependencies {
classpath "com.android.tools.build:gradle:3.1.3"
classpath "com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.0"
classpath "com.github.dcendents:android-maven-gradle-plugin:2.1"
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
google()
jcenter()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}