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

toulmean pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-tuweni.git


The following commit(s) were added to refs/heads/master by this push:
     new 65f3e5b  don't need to enhance openjpa classes
65f3e5b is described below

commit 65f3e5b73bba36c3d55bcfc7a8fa0b476fef5769
Author: Antoine Toulme <[email protected]>
AuthorDate: Thu Feb 13 17:23:11 2020 -0800

    don't need to enhance openjpa classes
---
 build.gradle    |  5 +----
 kv/build.gradle | 32 --------------------------------
 2 files changed, 1 insertion(+), 36 deletions(-)

diff --git a/build.gradle b/build.gradle
index f840203..b539938 100644
--- a/build.gradle
+++ b/build.gradle
@@ -22,10 +22,7 @@ buildscript {
   repositories { jcenter() // jcenter
   }
 
-  dependencies {
-    classpath "org.ajoberstar.grgit:grgit-core:3.1.1"
-    classpath 'com.radcortez.gradle:openjpa-gradle-plugin:3.1.0'
-  }
+  dependencies { classpath "org.ajoberstar.grgit:grgit-core:3.1.1" }
 }
 
 plugins {
diff --git a/kv/build.gradle b/kv/build.gradle
index c6f8aa1..b96f9d4 100644
--- a/kv/build.gradle
+++ b/kv/build.gradle
@@ -12,38 +12,6 @@
  */
 description = 'Key value store implementations.'
 
-task openJPAEnhance {
-  description "Enhance JPA model classes using OpenJPA Enhancer"
-  dependsOn compileTestJava
-
-  doLast {
-    // define the entity classes
-    def entityFiles = sourceSets.test.output.asFileTree.filter { it.name == 
"Store.class" }
-
-    println "Enhancing with OpenJPA, the following files..."
-    entityFiles.getFiles().each { println it }
-
-    // define Ant task for Enhancer
-    ant.taskdef(
-      name : 'openjpac',
-      classpath : sourceSets.test.runtimeClasspath.asPath,
-      classname : 'org.apache.openjpa.ant.PCEnhancerTask'
-      )
-
-    // Run the OpenJPA Enhancer as an Ant task
-    //   - see OpenJPA 'PCEnhancerTask' for supported arguments
-    //   - this invocation of the enhancer adds support for a default-ctor
-    //   - as well as ensuring JPA property use is valid.
-    ant.openjpac(
-      classpath: sourceSets.test.runtimeClasspath.asPath,
-      addDefaultConstructor: true,
-      enforcePropertyRestrictions: true) {
-        entityFiles.addToAntBuilder(ant, 'fileset', 
FileCollection.AntType.FileSet)
-      }
-  }
-}
-test { dependsOn openJPAEnhance }
-
 dependencies {
 
   compile project(':bytes')


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to