This is an automated email from the ASF dual-hosted git repository.

yzhao 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 a4beaff  MNEMONIC-678: Fix gradle build error for mnemonic-core
a4beaff is described below

commit a4beaff47a40aa1331fbad2d1af5cd55937a3d2e
Author: Xiaojin Jiao <[email protected]>
AuthorDate: Thu Sep 2 19:12:12 2021 -0700

    MNEMONIC-678: Fix gradle build error for mnemonic-core
    
    Signed-off-by: Xiaojin Jiao <[email protected]>
---
 build.gradle | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/build.gradle b/build.gradle
index c8729b6..fd48844 100644
--- a/build.gradle
+++ b/build.gradle
@@ -28,6 +28,12 @@ project.gradle.startParameter.excludedTaskNames.add('test')
 allprojects  {
   group = 'org.apache.mnemonic'
   version = '0.15.0-SNAPSHOT'
+  // tasks.withType(JavaCompile) {
+  //     // show details of deprecated classes
+  //     options.deprecation = true
+  //     // show details of unsafe or unchecked operations
+  //     options.compilerArgs.addAll(['-Xlint:unchecked'])
+  // }
 }
 
 subprojects {
@@ -39,7 +45,7 @@ subprojects {
       dependency 'org.apache.commons:commons-lang3:3.4'
       dependency 'org.testng:testng:6.8.17'
       dependency 'commons-cli:commons-cli:1.3.1'
-      dependency 'com.squareup:javapoet:1.11.1'
+      dependency 'com.squareup:javapoet:1.13.0'
       dependency 'org.slf4j:slf4j-api:1.7.21'
       dependency 'org.slf4j:slf4j-log4j12:1.7.21'
       dependency 'org.slf4j:jul-to-slf4j:1.7.21'

Reply via email to