plugins { id 'java' // Apply the application plugin to add support for building a CLI application. id 'application' id 'com.google.cloud.tools.jib' version "3.3.2" } group 'com.amazon.sampleapp' version '1.0' java { sourceCompatibility = JavaVersion.VERSION_1_8 targetCompatibility = JavaVersion.VERSION_1_8 } repositories { mavenCentral() mavenLocal() maven { setUrl("https://oss.sonatype.org/content/repositories/snapshots") } flatDir { dirs 'libs' } } configurations { extraLibs } application { // Define the main class for the application. mainClass.set("com.amazon.sampleapp.App") } dependencies { implementation "com.sparkjava:spark-core:2.9.4" implementation "com.squareup.okhttp3:okhttp:4.11.0" implementation "software.amazon.awssdk:s3:2.20.118" implementation "io.grpc:grpc-api:1.57.1" implementation "io.grpc:grpc-netty-shaded:1.57.1" implementation "org.slf4j:slf4j-simple:2.0.7" implementation project(":trace-java-client") testImplementation group: 'junit', name: 'junit', version: '4.13.2' }