Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- plugins {
- id 'java'
- id "application"
- }
- group 'de.redstonepfalz.cachebuilder'
- version '1.0-SNAPSHOT'
- repositories {
- mavenCentral()
- }
- sourceSets {
- main {
- java {
- srcDirs = ["src/main/java"]
- }
- }
- }
- dependencies {
- implementation "com.squareup.okhttp3:okhttp:4.10.0"
- implementation "com.amazon.paapi:paapi-java-sdk:1.0.0"
- implementation "org.apache.logging.log4j:log4j-core:2.20.0"
- implementation "org.apache.logging.log4j:log4j-api:2.20.0"
- implementation "com.mysql:mysql-connector-j:8.0.32"
- //testImplementation 'org.junit.jupiter:junit-jupiter-api:5.8.1'
- //testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.8.1'
- }
- application {
- mainClass = "de.redstonepfalz.cachebuilder.CacheBuilder"
- }
- compileJava {
- sourceCompatibility = JavaVersion.VERSION_11
- targetCompatibility = JavaVersion.VERSION_11
- }
- jar {
- manifest {
- attributes (
- "Main-Class": "de.redstonepfalz.cachebuilder.CacheBuilder",
- "Class-Path": configurations.compileClasspath.collect { "lib/$it.name" }.join(" ")
- )
- }
- archiveFileName = "CacheBuiler.jar"
- destinationDirectory = file("build/libs")
- }
- /*
- test {
- useJUnitPlatform()
- }
- */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement