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.
Gradle build configuration
Fill the blanks in an application build script
Report a typo
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.'
}
} ___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
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.