Skip to content

Commit

Permalink
[maven-release-plugin] prepare for next development iteration
Browse files Browse the repository at this point in the history
  • Loading branch information
Muhammad Hammad committed Oct 21, 2024
1 parent aa52a9f commit 8f118ef
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ public class SourceTest {
sourceCode.append("}");

DynamicCompiler dynamicCompiler = new DynamicCompiler();

if (DynamicCompiler.isJava9OrAbove()) {
dynamicCompiler.addCompilerOption(DynamicCompilerOption.ADD_EXPORTS, "java.base/java.time=ALL-UNNAMED");
}

dynamicCompiler.addSource("org.dvare.dynamic.SourceTestClass", sourceCode.toString());
Map<String, Class<?>> compiled = dynamicCompiler.build();
Class<?> aClass = compiled.get("org.dvare.dynamic.SourceTestClass");
Expand All @@ -31,6 +36,7 @@ public class SourceTest {
## Current version

* The current stable version is `3.2`
* The current snapshot version is `3.3-SNAPSHOT`

In order to use snapshot versions, you need to add the following maven repository in your `pom.xml`:

Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<groupId>org.dvare</groupId>
<artifactId>dynamic-loader</artifactId>
<version>3.2</version>
<version>3.3-SNAPSHOT</version>

<description>
Java In memory Compiler thats enables to compile java file and code string in memory.
Expand Down

0 comments on commit 8f118ef

Please sign in to comment.