Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
55 lines (46 sloc) 1.62 KB
group = "com.merricklabs.partymode"
repositories {
mavenCentral()
jcenter()
}
plugins {
id("de.fayard.buildSrcVersions") version Versions.de_fayard_buildsrcversions_gradle_plugin
kotlin("jvm") version Versions.org_jetbrains_kotlin
id("com.github.johnrengelman.shadow") version Versions.com_github_johnrengelman_shadow_gradle_plugin
}
dependencies {
implementation(Libs.twilio)
implementation(Libs.okhttp)
implementation(Libs.kotlin_stdlib_jdk8)
implementation(Libs.kotlin_reflect)
implementation(Libs.slf4j_api)
implementation(Libs.slf4j_jdk14)
implementation(Libs.kotlin_logging)
implementation(Libs.koin_core)
implementation(Libs.aws_lambda_java_core)
implementation(Libs.aws_lambda_java_log4j2)
implementation(Libs.aws_lambda_java_events)
implementation(Libs.aws_java_sdk_dynamodb)
implementation(Libs.aws_java_sdk_sns)
implementation(Libs.jackson_core)
implementation(Libs.jackson_databind)
implementation(Libs.jackson_annotations)
implementation(Libs.jackson_module_kotlin)
testImplementation(Libs.testng)
testImplementation(Libs.koin_test)
testImplementation(Libs.kotlintest_runner_junit5)
}
val deployDev = tasks.create<Exec>("deployDev") {
commandLine = listOf("serverless", "deploy", "--stage=dev")
}
val deployPrd = tasks.create<Exec>("deployPrd") {
commandLine = listOf("serverless", "deploy", "--stage=prd")
}
// Alias for deploy dev
val deploy = tasks.create("deploy")
deploy.dependsOn(deployDev)
deployDev.dependsOn(tasks.getByName("shadowJar"))
deployPrd.dependsOn(tasks.getByName("shadowJar"))
tasks.test {
useTestNG()
}
You can’t perform that action at this time.