Fill the blanks in an application build script

Report a typo

You recently started a new project that requires you to build an application using a specific build tool. You have written a script, but it's left unfinished. Your task is to fill the blanks in code to properly configure the script that will make use of the Maven Central repository, implement a specific dependency (use 'com.google.guava:guava:28.2-jre' for testing purposes), apply the correct plugin for the application, and create a task that when executed, would simply print 'App built successfully.' to confirm that application has been built.

Fill in the gaps with the relevant elements
plugins {
    id ''
}

 {
    mavenCentral()
}

 {
    implementation 'com.google.guava:guava:28.2-jre'
}

 buildApp {
    doLast {
        println 'App built successfully.'
    }
} 
repositoriestaskdependenciesjava
___

Create a free account to access the full topic