/* * This file was generated by the Gradle 'init' task. */ plugins { id 'java' id 'application' id 'checkstyle' } checkstyle { toolVersion = '8.29' configFile = file('./checkstyle.xml') // Allow some warnings before putting checkstyle in place. These warnings will be gradually removed. maxWarnings = 43 } repositories { mavenCentral() } application { mainClassName 'com.ilmlf.product.ProvmanApp' } dependencies { implementation 'software.amazon.awscdk:core:1.121.0' implementation 'software.amazon.awscdk:ec2:1.121.0' implementation 'software.amazon.awscdk:apigateway:1.121.0' implementation 'software.amazon.awscdk:cdk-pipelines:1.121.0' implementation 'software.amazon.awscdk:lambda:1.121.0' implementation 'software.amazon.awscdk:rds:1.121.0' implementation 'software.amazon.awscdk:sns-subscriptions:1.121.0' implementation 'software.amazon.awscdk:cloudwatch-actions:1.121.0' implementation 'software.amazon.awscdk:s3-deployment:1.121.0' implementation 'software.amazon.awscdk:cdk-customresources:1.121.0' implementation 'software.amazon.awscdk:logs:1.121.0' implementation 'software.amazon.awscdk:cdk-cloudformation-include:1.121.0' implementation 'software.amazon.awscdk:sam:1.121.0' implementation 'software.amazon.awscdk:ecr-assets:1.121.0' implementation 'software.amazon.awscdk:ecs-patterns:1.121.0' implementation 'software.amazon.awscdk:secretsmanager:1.121.0' implementation 'com.github.spullara.mustache.java:compiler:0.9.7' implementation 'com.googlecode.json-simple:json-simple:1.1.1' implementation 'io.github.json-snapshot:json-snapshot:1.0.17' implementation 'commons-codec:commons-codec:1.11' testImplementation 'org.junit.jupiter:junit-jupiter-api:5.7.1' testImplementation 'org.junit.jupiter:junit-jupiter-engine:5.7.1' testImplementation 'org.assertj:assertj-core:3.18.1' compileOnly 'org.projectlombok:lombok:1.18.20' annotationProcessor 'org.projectlombok:lombok:1.18.20' } test { useJUnitPlatform() // Use this flag to show output from running the test // testLogging.showStandardStreams = true } // This task removes the generated Cloudformation template snapshot during the build process, // which allows the snapshot to be generated and committed with pull requests without failing builds outright. task removeSnapshot(type: Delete) { delete './src/test/java/com/ilmlf/product/ProvmanAppTest.snap' } group = 'com.ilmlf.product' version = '0.1' description = 'provman' java.sourceCompatibility = JavaVersion.VERSION_11 tasks.withType(JavaCompile) { options.encoding = 'UTF-8' } test.dependsOn removeSnapshot