1
0
mirror of https://github.com/square/okhttp.git synced 2025-11-23 06:42:24 +03:00
Files
okhttp/okhttp-dnsoverhttps/build.gradle
Jesse Wilson e6cefb7a4d Switch to Gradle's Maven Publishing Plugin
This removes a bunch of low-value stuff from the pom.xml files:

 - name
 - description
 - licence distribution ('repo')
 - developers clause
 - test dependencies

I don't think any of this will be missed, and it shrinks the pom.xml
file to the minimal set of useful stuff.

This also causes us to publish a gradle .module file. This is the
motivation for this change. It'll allow us to ship a Gradle platform,
which is a more capable than a Maven BOM.
2020-01-19 21:44:55 -05:00

24 lines
489 B
Groovy

jar {
manifest {
attributes('Automatic-Module-Name': 'okhttp3.dnsoverhttps')
}
}
dependencies {
api project(':okhttp')
compileOnly deps.jsr305
testImplementation project(':okhttp-testing-support')
testImplementation project(':mockwebserver')
testImplementation deps.conscrypt
testImplementation deps.junit
testImplementation deps.assertj
}
afterEvaluate { project ->
project.tasks.dokka {
outputDirectory = "$rootDir/docs/4.x"
outputFormat = 'gfm'
}
}