This is an automated email from the ASF dual-hosted git repository.
garyw pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mnemonic.git
The following commit(s) were added to refs/heads/master by this push:
new 3e1d710 MNEMONIC-569: Create build.gradle for subproject
mnemonic-sessions
3e1d710 is described below
commit 3e1d7107f90440b85510aa33c83947fd8d7ccf74
Author: peili <[email protected]>
AuthorDate: Thu Dec 17 23:29:53 2020 -0800
MNEMONIC-569: Create build.gradle for subproject mnemonic-sessions
Signed-off-by: peili <[email protected]>
---
mnemonic-sessions/build.gradle | 26 +++++++++++++++++++++++++-
1 file changed, 25 insertions(+), 1 deletion(-)
diff --git a/mnemonic-sessions/build.gradle b/mnemonic-sessions/build.gradle
index e56cf02..91fc657 100644
--- a/mnemonic-sessions/build.gradle
+++ b/mnemonic-sessions/build.gradle
@@ -15,8 +15,32 @@
* limitations under the License.
*/
+
description = 'mnemonic-sessions'
+
+compileJava {
+ options.compilerArgs = [
+ "-processor", "org.apache.mnemonic.DurableEntityProcessor"
+ ]
+}
+
+compileTestJava {
+ options.compilerArgs = [
+ "-processor", "org.apache.mnemonic.DurableEntityProcessor"
+ ]
+}
+
dependencies {
- testCompileOnly 'org.testng:testng'
+ annotationProcessor project(':mnemonic-core')
+ api project(':mnemonic-collections')
+ api 'org.apache.commons:commons-lang3'
+ api 'org.flowcomputing.commons:commons-primitives'
+ api 'org.slf4j:slf4j-api'
+ api 'org.slf4j:jul-to-slf4j'
+ api 'org.slf4j:jcl-over-slf4j'
+ api 'log4j:log4j'
+ api 'org.slf4j:slf4j-log4j12'
+ testCompileOnly 'org.testng:testng'
}
+
test.useTestNG()