Skip to content

Instantly share code, notes, and snippets.

@GuilhE
Last active January 21, 2020 11:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save GuilhE/a62e3035e4ecd725e6748854b477c2a9 to your computer and use it in GitHub Desktop.
Save GuilhE/a62e3035e4ecd725e6748854b477c2a9 to your computer and use it in GitHub Desktop.
Project gradle settings (using dcendents.android-maven)
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext.kotlin_version = '1.3.61'
repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.5.3'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
plugins {
id "com.jfrog.bintray" version "1.8.0"
id "com.github.dcendents.android-maven" version "2.1"
}
allprojects {
repositories {
jcenter()
google()
}
tasks.withType(Javadoc) {
excludes = ['**/*.kt']
options.addStringOption('Xdoclint:none', '-quiet')
options.addStringOption('encoding', 'UTF-8')
}
tasks.withType(Delete) {
delete rootProject.buildDir
}
}
ext {
minSdkVersion = 21
targetSdkVersion = 29
compileSdkVersion = 29
buildToolsVersion = '29.0.2'
supportLibraryVersion = '28.0.0'
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment