Build Failed: error in setting.gradle

Started by Gabriel_fd on

Topic category: Help with modding (Java Edition)

Last seen on 20:29, 28. Oct 2023
Joined Oct 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Build Failed: error in setting.gradle

I have a build error in my porject.
This is the setting.gradle and build.gradle files.
If you have any idea, tahnks :)

--- setting.gradle ---

pluginManagement {
    repositories {
        gradlePluginPortal()
        google()
        mavenCentral()
    }
}
dependencyResolutionManagement {
    repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
    repositories {
        google()
        mavenCentral()
    }
}
include ':app'

--- build.gradle ---

// Top-level build file where you can add configuration options common to all sub-projects/modules.
plugins {
    id 'com.android.application' version '7.1.2' apply false
    id 'com.android.library' version '7.1.2' apply false
    id 'org.jetbrains.kotlin.android' version '1.5.30' apply false
}

task clean(type: Delete) {
    delete rootProject.buildDir
}
Did you change the code as…
Thu, 08/31/2023 - 19:06

Did you change the code as this is not something MCreator would put into those files?

Last seen on 20:29, 28. Oct 2023
Joined Oct 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I just one day install…
Thu, 08/31/2023 - 22:19

I just one day install Android Stuido for create app,a dn just after MCreator did works