Skip to content

Instantly share code, notes, and snippets.

View geek-atif's full-sized avatar
🏠
Working from home

Atif Qamar geek-atif

🏠
Working from home
  • Razorpay
  • Bangalore
  • 21:34 (UTC -12:00)
View GitHub Profile
@geek-atif
geek-atif / build.gradle
Created July 24, 2022 15:21
build.gradle
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"
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 {
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