settings.gradle 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. pluginManagement {
  2. repositories {
  3. google {
  4. content {
  5. includeGroupByRegex("com\\.android.*")
  6. includeGroupByRegex("com\\.google.*")
  7. includeGroupByRegex("androidx.*")
  8. }
  9. }
  10. mavenCentral()
  11. gradlePluginPortal()
  12. }
  13. }
  14. dependencyResolutionManagement {
  15. repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
  16. repositories {
  17. google()
  18. mavenCentral()
  19. maven {
  20. credentials {
  21. username "$atmob_maven_username"
  22. password "$atmob_maven_password"
  23. }
  24. allowInsecureProtocol = true
  25. url "$atmob_maven_url/repository/android-group/"
  26. }
  27. maven { url 'https://nexus.gravity-engine.com/repository/maven-releases/' }
  28. maven { url 'https://nexus.gravity-engine.com/repository/maven-snapshots/' }
  29. maven { url 'https://artifact.bytedance.com/repository/Volcengine/' }
  30. }
  31. }
  32. include ':libcocos', ':libservice', ':app'
  33. project(':libcocos').projectDir = new File(COCOS_ENGINE_PATH, 'cocos/platform/android/libcocos2dx')
  34. project(':app').projectDir = new File(NATIVE_DIR, 'app')
  35. project(':app').name = "com-game-eliminate"
  36. if (PROP_ENABLE_INSTANT_APP == "true" || PROP_ENABLE_INSTANT_APP == "yes") {
  37. include ':instantapp'
  38. project(':instantapp').projectDir = new File(NATIVE_DIR, 'instantapp')
  39. }
  40. rootProject.name = "com-game-eliminate"