Guest User

android/build.gradle

a guest
Sep 13th, 2024
44
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.82 KB | Source Code | 0 0
  1. buildscript {
  2. ext.kotlin_version = '1.8.10' //perfect
  3. repositories {
  4. google()
  5. mavenCentral()
  6. flatDir {
  7. dirs 'libs'
  8. }
  9. }
  10.  
  11. dependencies {
  12. classpath 'com.android.tools.build:gradle:7.4.2' //toupdate from 7.3.0 to 7.4.2
  13. classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
  14. // classpath "com.google.gms:google-services:4.3.3"
  15. }
  16. }
  17.  
  18. allprojects {
  19. repositories {
  20. google()
  21. mavenCentral()
  22. flatDir {
  23. dirs 'libs'
  24. }
  25. }
  26. }
  27.  
  28. rootProject.buildDir = '../build'
  29. subprojects {
  30. project.buildDir = "${rootProject.buildDir}/${project.name}"
  31. }
  32. subprojects {
  33. project.evaluationDependsOn(':app')
  34. }
  35.  
  36. tasks.register("clean", Delete) {
  37. delete rootProject.buildDir
  38. }
  39.  
Add Comment
Please, Sign In to add comment