This file contains 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
buildscript { | |
ext.kotlin_version = "1.5.0" | |
repositories { | |
google() | |
jcenter() | |
mavenCentral() //Add this line. | |
} | |
dependencies { | |
classpath "com.android.tools.build:gradle:4.0.0" | |
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" |
This file contains 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
apply plugin: 'com.android.application' | |
apply plugin: 'kotlin-android' | |
apply plugin: 'kotlin-android-extensions' | |
apply plugin: 'kotlin-kapt' | |
apply plugin: 'project-report' | |
apply plugin: "org.jlleitschuh.gradle.ktlint" | |
apply plugin: 'com.kezong.fat-aar' //Add this line. Here we include the plugin | |
android { |
This file contains 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
apply plugin: 'com.android.library' //Add this for fat AAR | |
//apply plugin: 'com.android.application' //comment this | |
apply plugin: 'kotlin-android' | |
apply plugin: 'kotlin-android-extensions' | |
apply plugin: 'kotlin-kapt' | |
apply plugin: 'project-report' | |
apply plugin: "org.jlleitschuh.gradle.ktlint" | |
apply plugin: 'com.kezong.fat-aar' //Add this for fat AAR | |