mirror of
https://github.com/jlengrand/cli-adyen-kotlin.git
synced 2026-03-10 08:11:19 +00:00
56 lines
1.5 KiB
Kotlin
56 lines
1.5 KiB
Kotlin
/*
|
|
* This file was generated by the Gradle 'init' task.
|
|
*
|
|
* This generated file contains a sample Kotlin application project to get you started.
|
|
* For more details take a look at the 'Building Java & JVM projects' chapter in the Gradle
|
|
* User Manual available at https://docs.gradle.org/8.1.1/userguide/building_java_projects.html
|
|
*/
|
|
|
|
plugins {
|
|
// Apply the org.jetbrains.kotlin.jvm Plugin to add support for Kotlin.
|
|
id("org.jetbrains.kotlin.jvm") version "1.8.10"
|
|
|
|
// Apply the application plugin to add support for building a CLI application in Java.
|
|
application
|
|
}
|
|
|
|
repositories {
|
|
// Use Maven Central for resolving dependencies.
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
// Use the Kotlin JUnit 5 integration.
|
|
testImplementation("org.jetbrains.kotlin:kotlin-test-junit5")
|
|
|
|
// Use the JUnit 5 integration.
|
|
testImplementation("org.junit.jupiter:junit-jupiter-engine:5.9.1")
|
|
|
|
// This dependency is used by the application.
|
|
implementation("com.google.guava:guava:31.1-jre")
|
|
|
|
//core
|
|
implementation("com.github.kittinunf.fuel:fuel:2.3.1")
|
|
|
|
// implementation
|
|
implementation("com.adyen:adyen-java-api-library:20.0.0")
|
|
|
|
}
|
|
|
|
// Apply a specific Java toolchain to ease working on different environments.
|
|
java {
|
|
toolchain {
|
|
languageVersion.set(JavaLanguageVersion.of(17))
|
|
}
|
|
}
|
|
|
|
application {
|
|
// Define the main class for the application.
|
|
mainClass.set("payments.AppKt")
|
|
}
|
|
|
|
tasks.named<Test>("test") {
|
|
// Use JUnit Platform for unit tests.
|
|
useJUnitPlatform()
|
|
}
|