java rewrite
This commit is contained in:
16
jpacrepo-api/build.gradle
Normal file
16
jpacrepo-api/build.gradle
Normal file
@@ -0,0 +1,16 @@
|
||||
plugins {
|
||||
id 'java-library'
|
||||
}
|
||||
|
||||
dependencies {
|
||||
compileOnly group: 'jakarta.platform',
|
||||
name: 'jakarta.jakartaee-api',
|
||||
version: getProperty('jakarta.ee.version')
|
||||
compileOnly group: 'javax.xml.bind', name: 'jaxb-api', version: getProperty('jaxb.api.version')
|
||||
}
|
||||
|
||||
tasks.named(JavaPlugin.COMPILE_JAVA_TASK_NAME, JavaCompile) { JavaCompile j ->
|
||||
options.compilerArgs += [
|
||||
'--add-reads', 'net.woggioni.jpacrepo.api=ALL-UNNAMED'
|
||||
]
|
||||
}
|
Reference in New Issue
Block a user