Skip to content

Commit

Permalink
Javenode v0.4.0 (#5)
Browse files Browse the repository at this point in the history
* Upgraded Javet to v3.0.3
* Added module `javet`
* Added `JavetReflectionObjectFactory`
  • Loading branch information
caoccao authored Jan 20, 2024
1 parent 8640367 commit 691c59f
Show file tree
Hide file tree
Showing 146 changed files with 42,944 additions and 3,346 deletions.
6 changes: 3 additions & 3 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -54,22 +54,22 @@ Maven
<dependency>
<groupId>com.caoccao.javet</groupId>
<artifactId>javenode</artifactId>
<version>0.3.0</version>
<version>0.4.0</version>
</dependency>
Gradle Kotlin DSL
^^^^^^^^^^^^^^^^^

.. code-block:: kotlin
implementation("com.caoccao.javet:javenode:0.3.0")
implementation("com.caoccao.javet:javenode:0.4.0")
Gradle Groovy DSL
^^^^^^^^^^^^^^^^^

.. code-block:: groovy
implementation 'com.caoccao.javet:javenode:0.3.0'
implementation 'com.caoccao.javet:javenode:0.4.0'
Hello Javenode (Static Import)
------------------------------
Expand Down
13 changes: 10 additions & 3 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2021-2023. caoccao.com Sam Cao
* Copyright (c) 2021-2024. caoccao.com Sam Cao
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -47,6 +47,9 @@ object Config {
}

object Projects {
// https://mvnrepository.com/artifact/net.bytebuddy/byte-buddy
const val BYTE_BUDDY = "net.bytebuddy:byte-buddy:${Versions.BYTE_BUDDY}"

const val JAVET = "com.caoccao.javet:javet:${Versions.JAVET}"
const val JAVET_LINUX_ARM64 = "com.caoccao.javet:javet-linux-arm64:${Versions.JAVET}"
const val JAVET_MACOS = "com.caoccao.javet:javet-macos:${Versions.JAVET}"
Expand All @@ -62,14 +65,17 @@ object Config {
}

object Versions {
const val BYTE_BUDDY = "1.14.10"
const val JAVA_VERSION = "1.8"
const val JAVET = "3.0.2"
const val JAVENODE = "0.3.0"
const val JAVET = "3.0.3"
const val JAVENODE = "0.4.0"
const val JUNIT = "5.10.1"
const val VERTX = "4.4.6"
}
}

val buildDir = layout.buildDirectory.get().toString()

plugins {
java
`java-library`
Expand Down Expand Up @@ -104,6 +110,7 @@ dependencies {
} else {
implementation(Config.Projects.JAVET)
}
implementation(Config.Projects.BYTE_BUDDY)
implementation(Config.Projects.VERTX)
testImplementation(Config.Projects.JUNIT_JUPITER_API)
testRuntimeOnly(Config.Projects.JUNIT_JUPITER_ENGINE)
Expand Down
2 changes: 1 addition & 1 deletion docs/_static/documentation_options.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const DOCUMENTATION_OPTIONS = {
VERSION: '0.3.0',
VERSION: '0.4.0',
LANGUAGE: 'en, zh-CN',
COLLAPSE_INDEX: false,
BUILDER: 'html',
Expand Down
4 changes: 2 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@
# -- Project information -----------------------------------------------------

project = 'Javenode'
copyright = '2021-2023. caoccao.com Sam Cao'
copyright = '2021-2024. caoccao.com Sam Cao'
author = 'Sam Cao'

# The full version, including alpha/beta/rc tags
release = '0.3.0'
release = '0.4.0'


# -- General configuration ---------------------------------------------------
Expand Down
10 changes: 5 additions & 5 deletions docs/genindex.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta name="viewport" content="width=device-width,initial-scale=1"/>
<meta name="color-scheme" content="light dark"><link rel="index" title="Index" href="#" /><link rel="search" title="Search" href="search.html" />

<link rel="shortcut icon" href="_static/logo.ico"/><!-- Generated with Sphinx 7.2.6 and Furo 2023.09.10 --><title>Index - Javenode 0.3.0 documentation</title>
<link rel="shortcut icon" href="_static/logo.ico"/><!-- Generated with Sphinx 7.2.6 and Furo 2023.09.10 --><title>Index - Javenode 0.4.0 documentation</title>
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=a746c00c" />
<link rel="stylesheet" type="text/css" href="_static/styles/furo.css?v=135e06be" />
<link rel="stylesheet" type="text/css" href="_static/tabs.css?v=4c969af8" />
Expand Down Expand Up @@ -122,7 +122,7 @@
</label>
</div>
<div class="header-center">
<a href="index.html"><div class="brand">Javenode 0.3.0 documentation</div></a>
<a href="index.html"><div class="brand">Javenode 0.4.0 documentation</div></a>
</div>
<div class="header-right">
<div class="theme-toggle-container theme-toggle-header">
Expand All @@ -148,7 +148,7 @@
<img class="sidebar-logo" src="_static/logo.png" alt="Logo"/>
</div>

<span class="sidebar-brand-text">Javenode 0.3.0 documentation</span>
<span class="sidebar-brand-text">Javenode 0.4.0 documentation</span>

</a><form class="sidebar-search-container" method="get" action="search.html" role="search">
<input class="sidebar-search" placeholder="Search" name="q" aria-label="Search">
Expand Down Expand Up @@ -229,7 +229,7 @@ <h1 id="index">Index</h1>
<div class="bottom-of-page">
<div class="left-details">
<div class="copyright">
Copyright &#169; 2021-2023. caoccao.com Sam Cao
Copyright &#169; 2021-2024. caoccao.com Sam Cao
</div>
Made with
<a href="https://github.com/pradyunsg/furo">Furo</a>
Expand All @@ -248,7 +248,7 @@ <h1 id="index">Index</h1>

</aside>
</div>
</div><script src="_static/documentation_options.js?v=3419d779"></script>
</div><script src="_static/documentation_options.js?v=f1a345d6"></script>
<script src="_static/doctools.js?v=888ff710"></script>
<script src="_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="_static/scripts/furo.js?v=32e29ea5"></script>
Expand Down
16 changes: 8 additions & 8 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<link rel="index" title="Index" href="genindex.html" /><link rel="search" title="Search" href="search.html" /><link rel="next" title="Tutorial" href="tutorial/index.html" />

<link rel="shortcut icon" href="_static/logo.ico"/><!-- Generated with Sphinx 7.2.6 and Furo 2023.09.10 -->
<title>Javenode 0.3.0 documentation</title>
<title>Javenode 0.4.0 documentation</title>
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=a746c00c" />
<link rel="stylesheet" type="text/css" href="_static/styles/furo.css?v=135e06be" />
<link rel="stylesheet" type="text/css" href="_static/tabs.css?v=4c969af8" />
Expand Down Expand Up @@ -124,7 +124,7 @@
</label>
</div>
<div class="header-center">
<a href="#"><div class="brand">Javenode 0.3.0 documentation</div></a>
<a href="#"><div class="brand">Javenode 0.4.0 documentation</div></a>
</div>
<div class="header-right">
<div class="theme-toggle-container theme-toggle-header">
Expand All @@ -150,7 +150,7 @@
<img class="sidebar-logo" src="_static/logo.png" alt="Logo"/>
</div>

<span class="sidebar-brand-text">Javenode 0.3.0 documentation</span>
<span class="sidebar-brand-text">Javenode 0.4.0 documentation</span>

</a><form class="sidebar-search-container" method="get" action="search.html" role="search">
<input class="sidebar-search" placeholder="Search" name="q" aria-label="Search">
Expand Down Expand Up @@ -268,20 +268,20 @@ <h3>Maven<a class="headerlink" href="#maven" title="Link to this heading">#</a><
<div class="highlight-xml notranslate"><div class="highlight"><pre><span></span><span class="nt">&lt;dependency&gt;</span>
<span class="w"> </span><span class="nt">&lt;groupId&gt;</span>com.caoccao.javet<span class="nt">&lt;/groupId&gt;</span>
<span class="w"> </span><span class="nt">&lt;artifactId&gt;</span>javenode<span class="nt">&lt;/artifactId&gt;</span>
<span class="w"> </span><span class="nt">&lt;version&gt;</span>0.3.0<span class="nt">&lt;/version&gt;</span>
<span class="w"> </span><span class="nt">&lt;version&gt;</span>0.4.0<span class="nt">&lt;/version&gt;</span>
<span class="nt">&lt;/dependency&gt;</span>
</pre></div>
</div>
</section>
<section id="gradle-kotlin-dsl">
<h3>Gradle Kotlin DSL<a class="headerlink" href="#gradle-kotlin-dsl" title="Link to this heading">#</a></h3>
<div class="highlight-kotlin notranslate"><div class="highlight"><pre><span></span><span class="n">implementation</span><span class="p">(</span><span class="s">&quot;com.caoccao.javet:javenode:0.3.0&quot;</span><span class="p">)</span>
<div class="highlight-kotlin notranslate"><div class="highlight"><pre><span></span><span class="n">implementation</span><span class="p">(</span><span class="s">&quot;com.caoccao.javet:javenode:0.4.0&quot;</span><span class="p">)</span>
</pre></div>
</div>
</section>
<section id="gradle-groovy-dsl">
<h3>Gradle Groovy DSL<a class="headerlink" href="#gradle-groovy-dsl" title="Link to this heading">#</a></h3>
<div class="highlight-groovy notranslate"><div class="highlight"><pre><span></span><span class="n">implementation</span><span class="w"> </span><span class="s1">&#39;com.caoccao.javet:javenode:0.3.0&#39;</span>
<div class="highlight-groovy notranslate"><div class="highlight"><pre><span></span><span class="n">implementation</span><span class="w"> </span><span class="s1">&#39;com.caoccao.javet:javenode:0.4.0&#39;</span>
</pre></div>
</div>
</section>
Expand Down Expand Up @@ -362,7 +362,7 @@ <h1>Documents<a class="headerlink" href="#documents" title="Link to this heading
<div class="bottom-of-page">
<div class="left-details">
<div class="copyright">
Copyright &#169; 2021-2023. caoccao.com Sam Cao
Copyright &#169; 2021-2024. caoccao.com Sam Cao
</div>
Made with
<a href="https://github.com/pradyunsg/furo">Furo</a>
Expand All @@ -381,7 +381,7 @@ <h1>Documents<a class="headerlink" href="#documents" title="Link to this heading

</aside>
</div>
</div><script src="_static/documentation_options.js?v=3419d779"></script>
</div><script src="_static/documentation_options.js?v=f1a345d6"></script>
<script src="_static/doctools.js?v=888ff710"></script>
<script src="_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="_static/scripts/furo.js?v=32e29ea5"></script>
Expand Down
10 changes: 5 additions & 5 deletions docs/reference/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<link rel="index" title="Index" href="../genindex.html" /><link rel="search" title="Search" href="../search.html" /><link rel="next" title="Modules" href="modules/index.html" /><link rel="prev" title="Times and Times Promises" href="../tutorial/modules/times.html" />

<link rel="shortcut icon" href="../_static/logo.ico"/><!-- Generated with Sphinx 7.2.6 and Furo 2023.09.10 -->
<title>Reference - Javenode 0.3.0 documentation</title>
<title>Reference - Javenode 0.4.0 documentation</title>
<link rel="stylesheet" type="text/css" href="../_static/pygments.css?v=a746c00c" />
<link rel="stylesheet" type="text/css" href="../_static/styles/furo.css?v=135e06be" />
<link rel="stylesheet" type="text/css" href="../_static/tabs.css?v=4c969af8" />
Expand Down Expand Up @@ -124,7 +124,7 @@
</label>
</div>
<div class="header-center">
<a href="../index.html"><div class="brand">Javenode 0.3.0 documentation</div></a>
<a href="../index.html"><div class="brand">Javenode 0.4.0 documentation</div></a>
</div>
<div class="header-right">
<div class="theme-toggle-container theme-toggle-header">
Expand All @@ -150,7 +150,7 @@
<img class="sidebar-logo" src="../_static/logo.png" alt="Logo"/>
</div>

<span class="sidebar-brand-text">Javenode 0.3.0 documentation</span>
<span class="sidebar-brand-text">Javenode 0.4.0 documentation</span>

</a><form class="sidebar-search-container" method="get" action="../search.html" role="search">
<input class="sidebar-search" placeholder="Search" name="q" aria-label="Search">
Expand Down Expand Up @@ -257,7 +257,7 @@ <h1>Reference<a class="headerlink" href="#reference" title="Link to this heading
<div class="bottom-of-page">
<div class="left-details">
<div class="copyright">
Copyright &#169; 2021-2023. caoccao.com Sam Cao
Copyright &#169; 2021-2024. caoccao.com Sam Cao
</div>
Made with
<a href="https://github.com/pradyunsg/furo">Furo</a>
Expand All @@ -276,7 +276,7 @@ <h1>Reference<a class="headerlink" href="#reference" title="Link to this heading

</aside>
</div>
</div><script src="../_static/documentation_options.js?v=3419d779"></script>
</div><script src="../_static/documentation_options.js?v=f1a345d6"></script>
<script src="../_static/doctools.js?v=888ff710"></script>
<script src="../_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="../_static/scripts/furo.js?v=32e29ea5"></script>
Expand Down
38 changes: 0 additions & 38 deletions docs/reference/javadoc/allclasses-frame.html

This file was deleted.

Loading

0 comments on commit 691c59f

Please sign in to comment.