scm-core-annotation-processor/build.gradle
Rama develop · réplica de lectura del repositorio original.
/*
* Copyright (c) 2020 - present Cloudogu GmbH
*
* This program is free software: you can redistribute it and/or modify it under
* the terms of the GNU Affero General Public License as published by the Free
* Software Foundation, version 3.
*
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
* details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see https://www.gnu.org/licenses/.
*/
plugins {
id 'java-library'
id 'org.scm-manager.java'
}
dependencies {
implementation platform(project(':'))
implementation project(':scm-annotations')
implementation project(':scm-core')
implementation "com.google.auto:auto-common:1.2.2"
implementation 'com.squareup:javapoet:1.13.0'
compileOnly libs.lombok;
annotationProcessor libs.lombok;
testImplementation "com.google.testing.compile:compile-testing:0.23.0"
testImplementation libs.junitJupiterApi
testImplementation libs.junitJupiterParams
testImplementation libs.junitJupiterEngine
testImplementation libs.assertj
// service registration
compileOnly libs.metainfServices
annotationProcessor libs.metainfServices
}
test {
// See: https://github.com/google/compile-testing/issues/222
jvmArgs("--add-exports=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED")
jvmArgs("--add-exports=jdk.compiler/com.sun.tools.javac.main=ALL-UNNAMED")
jvmArgs("--add-exports=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED")
jvmArgs("--add-exports=jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED")
jvmArgs("--add-exports=jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED")
jvmArgs("--add-exports=jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED")
}