Preparing a Gradle build script for a new project

Report a typo

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.

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