You have been assigned to prepare a Gradle build script for a new Java project. Your team decided to use the 'Guava' library specific to its version '30.1-jre'. They also decided to use Maven Central as the preferred repository for retrieving dependencies. Reorder the lines of the build script to do so.
Dependency management: repositories
Preparing a Gradle build script for a new project
Report a typo
Reorder lines using drag or arrows. Adjust indentation with left buttons
}
}
mavenCentral()
}
compile 'com.google.guava:guava:30.1-jre'
plugins {
id 'java'
repositories {
dependencies {
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.