Skip to content

Instantly share code, notes, and snippets.

@GuilhE
Last active Jan 21, 2020
Embed
What would you like to do?
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