build.gradle
ext {
var = '4.1.2'
}// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext.hilt_version = '2.33-beta'
repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:4.1.3'
classpath 'com.google.gms:google-services:4.3.5'
//classpath 'com.google.dagger:hilt-android-gradle-plugin:2.28-alpha'
classpath "com.google.dagger:hilt-android-gradle-plugin:$hilt_version"
def nav_version = "2.3.5"
classpath "androidx.navigation:navigation-safe-args-gradle-plugin:$nav_version"
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
google()
jcenter()
maven { url 'https://jitpack.io' } //added for panoramaGL
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}