Skip to content

Instantly share code, notes, and snippets.

@wajahatkarim3
Created January 31, 2021 16:01
Show Gist options
  • Save wajahatkarim3/02a29163a0155e569b64926f27170389 to your computer and use it in GitHub Desktop.
Save wajahatkarim3/02a29163a0155e569b64926f27170389 to your computer and use it in GitHub Desktop.
Project's root build.gradle file
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext {
kotlin_version = '1.4.21'
}
repositories {
google()
jcenter()
}
dependencies {
classpath "com.android.tools.build:gradle:4.1.1"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.4.10"
classpath 'com.google.gms:google-services:4.3.4'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
google()
maven { url 'https://jitpack.io' }
jcenter()
// CometChat Pro dependency <--------------
maven {
url "https://dl.bintray.com/cometchat/pro"
}
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
@cactustong
Copy link

i

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment