mirror of
https://github.com/square/okhttp.git
synced 2025-08-01 16:06:56 +03:00
Basic Gradle support
This commit is contained in:
16
okhttp-dnsoverhttps/build.gradle
Normal file
16
okhttp-dnsoverhttps/build.gradle
Normal file
@ -0,0 +1,16 @@
|
||||
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
|
||||
}
|
@ -1,72 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<parent>
|
||||
<groupId>com.squareup.okhttp3</groupId>
|
||||
<artifactId>parent</artifactId>
|
||||
<version>3.15.0-SNAPSHOT</version>
|
||||
</parent>
|
||||
|
||||
<artifactId>okhttp-dnsoverhttps</artifactId>
|
||||
<name>OkHttp DNS over HTTPS</name>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>${project.groupId}</groupId>
|
||||
<artifactId>okhttp</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.google.code.findbugs</groupId>
|
||||
<artifactId>jsr305</artifactId>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>${project.groupId}</groupId>
|
||||
<artifactId>okhttp-testing-support</artifactId>
|
||||
<version>${project.version}</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>junit</groupId>
|
||||
<artifactId>junit</artifactId>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>${project.groupId}</groupId>
|
||||
<artifactId>mockwebserver</artifactId>
|
||||
<version>${project.version}</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.conscrypt</groupId>
|
||||
<artifactId>conscrypt-openjdk-uber</artifactId>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.assertj</groupId>
|
||||
<artifactId>assertj-core</artifactId>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-jar-plugin</artifactId>
|
||||
<version>3.1.1</version>
|
||||
<configuration>
|
||||
<archive>
|
||||
<manifestEntries>
|
||||
<Automatic-Module-Name>okhttp3.dnsoverhttps</Automatic-Module-Name>
|
||||
</manifestEntries>
|
||||
</archive>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</project>
|
Reference in New Issue
Block a user