mirror of
https://github.com/LukeHagar/plexjava.git
synced 2025-12-06 04:20:46 +00:00
50 lines
1.7 KiB
Groovy
50 lines
1.7 KiB
Groovy
|
|
////////////////////////////////////////////////////////////////////////////////////////////
|
|
// This file is generated by Speakeasy and any edits will be lost in generation updates.
|
|
//
|
|
// If you wish to customize this file then place those customizations in `build-extras.gradle` which
|
|
// is not touched by generation updates.
|
|
//
|
|
// Additions to the plugins block can be made by setting the `additionalPlugins` property (an array
|
|
// of string where each string value is an additional line in the block) in gen.yaml.
|
|
////////////////////////////////////////////////////////////////////////////////////////////
|
|
plugins {
|
|
// Apply the java-library plugin for API and implementation separation.
|
|
id 'java-library'
|
|
}
|
|
|
|
compileJava.options.encoding = "UTF-8"
|
|
compileJava.options.compilerArgs += '-Xlint:unchecked'
|
|
compileTestJava.options.encoding = "UTF-8"
|
|
|
|
repositories {
|
|
// Use Maven Central for resolving dependencies.
|
|
mavenCentral()
|
|
}
|
|
|
|
java {
|
|
sourceCompatibility = JavaVersion.VERSION_11
|
|
targetCompatibility = JavaVersion.VERSION_11
|
|
withSourcesJar()
|
|
withJavadocJar()
|
|
}
|
|
|
|
tasks.withType(Javadoc) {
|
|
failOnError false
|
|
options.addStringOption('Xdoclint:none', '-quiet')
|
|
}
|
|
|
|
dependencies {
|
|
implementation 'com.fasterxml.jackson.core:jackson-databind:2.17.0'
|
|
implementation 'com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.17.0'
|
|
implementation 'com.fasterxml.jackson.datatype:jackson-datatype-jdk8:2.17.0'
|
|
implementation 'org.openapitools:jackson-databind-nullable:0.2.6'
|
|
implementation 'org.apache.httpcomponents:httpclient:4.5.14'
|
|
implementation 'org.apache.httpcomponents:httpmime:4.5.14'
|
|
implementation 'commons-io:commons-io:2.15.1'
|
|
}
|
|
|
|
|
|
|
|
apply from: 'build-extras.gradle'
|