|
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<!-- |
| 3 | + Copyright 2013 Google LLC |
| 4 | +
|
| 5 | + Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 | + you may not use this file except in compliance with the License. |
| 7 | + You may obtain a copy of the License at |
| 8 | +
|
| 9 | + http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | +
|
| 11 | + Unless required by applicable law or agreed to in writing, software |
| 12 | + distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | + See the License for the specific language governing permissions and |
| 15 | + limitations under the License. |
| 16 | +--> |
| 17 | +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 18 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
| 19 | + <modelVersion>4.0.0</modelVersion> |
| 20 | + |
| 21 | + <parent> |
| 22 | + <groupId>com.google.auto.service</groupId> |
| 23 | + <artifactId>auto-service-aggregator</artifactId> |
| 24 | + <version>HEAD-SNAPSHOT</version> |
| 25 | + </parent> |
| 26 | + |
| 27 | + <groupId>com.google.auto.service</groupId> |
| 28 | + <artifactId>auto-service-ksp</artifactId> |
| 29 | + <version>HEAD-SNAPSHOT</version> |
| 30 | + <name>AutoService KSP Processor</name> |
| 31 | + <description> |
| 32 | + KSP processor for generating ServiceLoader provider configuration files. |
| 33 | + </description> |
| 34 | + <url>https://github.com/google/auto/tree/main/service</url> |
| 35 | + |
| 36 | + <scm> |
| 37 | + <url>http://github.com/google/auto</url> |
| 38 | + <connection>scm:git:git://github.com/google/auto.git</connection> |
| 39 | + <developerConnection>scm:git:ssh://git@github.com/google/auto.git</developerConnection> |
| 40 | + <tag>HEAD</tag> |
| 41 | + </scm> |
| 42 | + |
| 43 | + <properties> |
| 44 | + <maven.compiler.release>${java.version}</maven.compiler.release> |
| 45 | + <kotlin.version>2.4.10</kotlin.version> |
| 46 | + <kotlin.compiler.languageVersion>2.0</kotlin.compiler.languageVersion> |
| 47 | + <kotlin.compiler.apiVersion>2.0</kotlin.compiler.apiVersion> |
| 48 | + <kotlin.compiler.jdkRelease>${java.version}</kotlin.compiler.jdkRelease> |
| 49 | + </properties> |
| 50 | + |
| 51 | + <repositories> |
| 52 | + <!-- needed for room3-compiler-processing-testing --> |
| 53 | + <repository> |
| 54 | + <id>google</id> |
| 55 | + <url>https://maven.google.com/</url> |
| 56 | + </repository> |
| 57 | + </repositories> |
| 58 | + |
| 59 | + <dependencies> |
| 60 | + <dependency> |
| 61 | + <groupId>com.google.auto.service</groupId> |
| 62 | + <artifactId>auto-service-annotations</artifactId> |
| 63 | + <version>${project.version}</version> |
| 64 | + </dependency> |
| 65 | + <dependency> |
| 66 | + <groupId>com.google.devtools.ksp</groupId> |
| 67 | + <artifactId>symbol-processing-api</artifactId> |
| 68 | + <version>2.3.11</version> |
| 69 | + </dependency> |
| 70 | + <dependency> |
| 71 | + <groupId>com.google.guava</groupId> |
| 72 | + <artifactId>guava</artifactId> |
| 73 | + </dependency> |
| 74 | + <!-- test dependencies --> |
| 75 | + <dependency> |
| 76 | + <groupId>androidx.room3</groupId> |
| 77 | + <artifactId>room3-compiler-processing-testing</artifactId> |
| 78 | + <version>3.0.1</version> |
| 79 | + <scope>test</scope> |
| 80 | + <exclusions> |
| 81 | + <!-- |
| 82 | + room3-compiler-processing-testing declares a dependency on symbol-processing:jar, but the |
| 83 | + symbol-processing artifact is (now, at any rate) just a pom with no jar. Simply excluding |
| 84 | + the dep seems to make everything work fine. |
| 85 | + --> |
| 86 | + <exclusion> |
| 87 | + <groupId>com.google.devtools.ksp</groupId> |
| 88 | + <artifactId>symbol-processing</artifactId> |
| 89 | + </exclusion> |
| 90 | + </exclusions> |
| 91 | + </dependency> |
| 92 | + <dependency> |
| 93 | + <groupId>junit</groupId> |
| 94 | + <artifactId>junit</artifactId> |
| 95 | + <scope>test</scope> |
| 96 | + </dependency> |
| 97 | + <dependency> |
| 98 | + <groupId>com.google.truth</groupId> |
| 99 | + <artifactId>truth</artifactId> |
| 100 | + <scope>test</scope> |
| 101 | + </dependency> |
| 102 | + <!-- the KSP test actually tests the JAPT processor as well --> |
| 103 | + <dependency> |
| 104 | + <groupId>com.google.auto.service</groupId> |
| 105 | + <artifactId>auto-service</artifactId> |
| 106 | + <version>${project.version}</version> |
| 107 | + <scope>test</scope> |
| 108 | + </dependency> |
| 109 | + </dependencies> |
| 110 | + |
| 111 | + <build> |
| 112 | + <!-- setting these explicitly just prevents warnings about no src/(main|test)/java dirs --> |
| 113 | + <sourceDirectory>src/main/kotlin</sourceDirectory> |
| 114 | + <testSourceDirectory>src/test/kotlin</testSourceDirectory> |
| 115 | + <plugins> |
| 116 | + <plugin> |
| 117 | + <groupId>org.apache.maven.plugins</groupId> |
| 118 | + <artifactId>maven-jar-plugin</artifactId> |
| 119 | + </plugin> |
| 120 | + <plugin> |
| 121 | + <groupId>org.jetbrains.kotlin</groupId> |
| 122 | + <artifactId>kotlin-maven-plugin</artifactId> |
| 123 | + <version>${kotlin.version}</version> |
| 124 | + <extensions>true</extensions> |
| 125 | + </plugin> |
| 126 | + </plugins> |
| 127 | + </build> |
| 128 | +</project> |
0 commit comments