Skip to content

Commit

Permalink
'3.5.3'
Browse files Browse the repository at this point in the history
  • Loading branch information
jknack committed Nov 14, 2024
1 parent cb83761 commit a2c8d9a
Show file tree
Hide file tree
Showing 40 changed files with 2,036 additions and 1,961 deletions.
2,054 changes: 1,027 additions & 1,027 deletions index.html

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions migration/3.x/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -635,13 +635,13 @@ <h4 id="upgrading-from-2-x-to-3-x-kotlin"><a class="anchor" href="#upgrading-fro


<div class="switch"><div class="switch--item option-1 selected">Maven</div><div class="switch--item option-2">Gradle</div></div><div class="content option-1">
<pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml" id="x9ebbea3998314465">&lt;dependency&gt;
<pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml" id="x2e65ac3bb64b49db">&lt;dependency&gt;
&lt;groupId&gt;io.jooby&lt;/groupId&gt;
&lt;artifactId&gt;jooby-kotlin&lt;/artifactId&gt;
&lt;version&gt;3.5.1&lt;/version&gt;
&lt;/dependency&gt;</code><button class="clipboard" data-clipboard-target="#x9ebbea3998314465"><img src="/images/clippy.svg" class="clippy" width="13" alt="Copy to clipboard"></button></pre>
&lt;version&gt;3.5.3&lt;/version&gt;
&lt;/dependency&gt;</code><button class="clipboard" data-clipboard-target="#x2e65ac3bb64b49db"><img src="/images/clippy.svg" class="clippy" width="13" alt="Copy to clipboard"></button></pre>
</div><div class="content hidden option-2">
<pre class="highlightjs highlight"><code class="language-gradle hljs" data-lang="gradle" id="xf79e3da2a4704937">implementation 'io.jooby:jooby-kotlin:3.5.1'</code><button class="clipboard" data-clipboard-target="#xf79e3da2a4704937"><img src="/images/clippy.svg" class="clippy" width="13" alt="Copy to clipboard"></button></pre>
<pre class="highlightjs highlight"><code class="language-gradle hljs" data-lang="gradle" id="x1d0a6e2d2b6a4273">implementation 'io.jooby:jooby-kotlin:3.5.3'</code><button class="clipboard" data-clipboard-target="#x1d0a6e2d2b6a4273"><img src="/images/clippy.svg" class="clippy" width="13" alt="Copy to clipboard"></button></pre>
</div></div>

</div>
Expand Down
44 changes: 22 additions & 22 deletions modules/avaje-inject/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -588,13 +588,13 @@ <h3 id="avaje-inject"><a class="anchor" href="#avaje-inject"></a><a class="link"


<div class="switch"><div class="switch--item option-1 selected">Maven</div><div class="switch--item option-2">Gradle</div></div><div class="content option-1">
<pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml" id="xdbbac326f2864c9c">&lt;dependency&gt;
<pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml" id="x73fa5c26b0684d67">&lt;dependency&gt;
&lt;groupId&gt;io.jooby&lt;/groupId&gt;
&lt;artifactId&gt;jooby-avaje-inject&lt;/artifactId&gt;
&lt;version&gt;3.5.1&lt;/version&gt;
&lt;/dependency&gt;</code><button class="clipboard" data-clipboard-target="#xdbbac326f2864c9c"><img src="/images/clippy.svg" class="clippy" width="13" alt="Copy to clipboard"></button></pre>
&lt;version&gt;3.5.3&lt;/version&gt;
&lt;/dependency&gt;</code><button class="clipboard" data-clipboard-target="#x73fa5c26b0684d67"><img src="/images/clippy.svg" class="clippy" width="13" alt="Copy to clipboard"></button></pre>
</div><div class="content hidden option-2">
<pre class="highlightjs highlight"><code class="language-gradle hljs" data-lang="gradle" id="x3586acb2852d4cf8">implementation 'io.jooby:jooby-avaje-inject:3.5.1'</code><button class="clipboard" data-clipboard-target="#x3586acb2852d4cf8"><img src="/images/clippy.svg" class="clippy" width="13" alt="Copy to clipboard"></button></pre>
<pre class="highlightjs highlight"><code class="language-gradle hljs" data-lang="gradle" id="xc0618ea79dad4365">implementation 'io.jooby:jooby-avaje-inject:3.5.3'</code><button class="clipboard" data-clipboard-target="#xc0618ea79dad4365"><img src="/images/clippy.svg" class="clippy" width="13" alt="Copy to clipboard"></button></pre>
</div></div>

<div class="paragraph">
Expand All @@ -604,7 +604,7 @@ <h3 id="avaje-inject"><a class="anchor" href="#avaje-inject"></a><a class="link"


<div class="switch"><div class="switch--item option-1 selected">Maven</div><div class="switch--item option-2">Gradle</div></div><div class="content option-1">
<pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml" id="xab8a23b69a8b4ba0">&lt;build&gt;
<pre class="highlightjs highlight"><code class="language-xml hljs" data-lang="xml" id="x18aebd395a8748c3">&lt;build&gt;
&lt;plugins&gt;
&lt;plugin&gt;
&lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
Expand All @@ -617,21 +617,21 @@ <h3 id="avaje-inject"><a class="anchor" href="#avaje-inject"></a><a class="link"
&lt;path&gt;
&lt;groupId&gt;io.avaje&lt;/groupId&gt;
&lt;artifactId&gt;avaje-inject-generator&lt;/artifactId&gt;
&lt;version&gt;10.4&lt;/version&gt;
&lt;version&gt;10.5&lt;/version&gt;
&lt;/path&gt;
&lt;/annotationProcessorPaths&gt;
&lt;/configuration&gt;
&lt;/plugin&gt;
&lt;/plugins&gt;
&lt;/build&gt;</code><button class="clipboard" data-clipboard-target="#xab8a23b69a8b4ba0"><img src="/images/clippy.svg" class="clippy" width="13" alt="Copy to clipboard"></button></pre>
&lt;/build&gt;</code><button class="clipboard" data-clipboard-target="#x18aebd395a8748c3"><img src="/images/clippy.svg" class="clippy" width="13" alt="Copy to clipboard"></button></pre>
</div><div class="content hidden option-2">
<pre class="highlightjs highlight"><code class="language-kotlin hljs" data-lang="kotlin" id="x44cc0640a8a64d1e">plugins {
<pre class="highlightjs highlight"><code class="language-kotlin hljs" data-lang="kotlin" id="xcb824200ca314a77">plugins {
id "org.jetbrains.kotlin.kapt" version "1.9.10"
}

dependencies {
kapt 'io.avaje:avaje-inject-generator:{avaje.inject.version}'
}</code><button class="clipboard" data-clipboard-target="#x44cc0640a8a64d1e"><img src="/images/clippy.svg" class="clippy" width="13" alt="Copy to clipboard"></button></pre>
}</code><button class="clipboard" data-clipboard-target="#xcb824200ca314a77"><img src="/images/clippy.svg" class="clippy" width="13" alt="Copy to clipboard"></button></pre>
</div></div>

<div class="admonitionblock note">
Expand All @@ -655,7 +655,7 @@ <h3 id="avaje-inject"><a class="anchor" href="#avaje-inject"></a><a class="link"
<div class="title">Installing Avaje Inject</div>

<div class="switch"><div class="switch--item option-1 selected">Java</div><div class="switch--item option-2">Kotlin</div></div><div class="content option-1">
<pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java" id="xde966b44cf0444d6">public class App extends Jooby {
<pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java" id="x7b5d18da1ec74671">public class App extends Jooby {

{
install(AvajeInjectModule.of()); <i class="conum" data-value="1"></i><b>(1)</b>
Expand All @@ -669,9 +669,9 @@ <h3 id="avaje-inject"><a class="anchor" href="#avaje-inject"></a><a class="link"
public static void main(String[] args) {
runApp(args, App::new);
}
}</code><button class="clipboard" data-clipboard-target="#xde966b44cf0444d6"><img src="/images/clippy.svg" class="clippy" width="13" alt="Copy to clipboard"></button></pre>
}</code><button class="clipboard" data-clipboard-target="#x7b5d18da1ec74671"><img src="/images/clippy.svg" class="clippy" width="13" alt="Copy to clipboard"></button></pre>
</div><div class="content hidden option-2">
<pre class="highlightjs highlight"><code class="language-kotlin hljs" data-lang="kotlin" id="xe67ce8775a2c4844">fun main(args: Array&lt;String&gt;) {
<pre class="highlightjs highlight"><code class="language-kotlin hljs" data-lang="kotlin" id="x12b1db5ecad540ef">fun main(args: Array&lt;String&gt;) {
runApp(args) {
install(AvajeInjectModule.of()) <i class="conum" data-value="1"></i><b>(1)</b>

Expand All @@ -680,7 +680,7 @@ <h3 id="avaje-inject"><a class="anchor" href="#avaje-inject"></a><a class="link"
service.doSomething()
}
}
}</code><button class="clipboard" data-clipboard-target="#xe67ce8775a2c4844"><img src="/images/clippy.svg" class="clippy" width="13" alt="Copy to clipboard"></button></pre>
}</code><button class="clipboard" data-clipboard-target="#x12b1db5ecad540ef"><img src="/images/clippy.svg" class="clippy" width="13" alt="Copy to clipboard"></button></pre>
</div></div>

<div class="colist arabic">
Expand All @@ -703,27 +703,27 @@ <h4 id="avaje-inject-property-injection"><a class="anchor" href="#avaje-inject-p
<div class="listingblock">
<div class="title">application.conf</div>
<div class="content">
<pre class="highlightjs highlight"><code class="language-bash hljs" data-lang="bash" id="x7decb81e3a0c4df1">currency = USD</code><button class="clipboard" data-clipboard-target="#x7decb81e3a0c4df1"><img src="/images/clippy.svg" class="clippy" width="13" alt="Copy to clipboard"></button></pre>
<pre class="highlightjs highlight"><code class="language-bash hljs" data-lang="bash" id="xb13791ea868a4d10">currency = USD</code><button class="clipboard" data-clipboard-target="#xb13791ea868a4d10"><img src="/images/clippy.svg" class="clippy" width="13" alt="Copy to clipboard"></button></pre>
</div>
</div>
<div class="listingblock primary">


<div class="switch"><div class="switch--item option-1 selected">Java</div><div class="switch--item option-2">Kotlin</div></div><div class="content option-1">
<pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java" id="xa2b511b2e41944d4">@Singleton
<pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java" id="x3920e4a94f64bde">@Singleton
public class BillingService {

@Inject
public BillingService(@External @Named("currency") String currency) {
...
}

}</code><button class="clipboard" data-clipboard-target="#xa2b511b2e41944d4"><img src="/images/clippy.svg" class="clippy" width="13" alt="Copy to clipboard"></button></pre>
}</code><button class="clipboard" data-clipboard-target="#x3920e4a94f64bde"><img src="/images/clippy.svg" class="clippy" width="13" alt="Copy to clipboard"></button></pre>
</div><div class="content hidden option-2">
<pre class="highlightjs highlight"><code class="language-kotlin hljs" data-lang="kotlin" id="xeea44283859542f8">@Singleton
<pre class="highlightjs highlight"><code class="language-kotlin hljs" data-lang="kotlin" id="xe4a6e8698bfc4811">@Singleton
class BillingService @Inject constructor(@External @Named("currency") currency: String) {
...
}</code><button class="clipboard" data-clipboard-target="#xeea44283859542f8"><img src="/images/clippy.svg" class="clippy" width="13" alt="Copy to clipboard"></button></pre>
}</code><button class="clipboard" data-clipboard-target="#xe4a6e8698bfc4811"><img src="/images/clippy.svg" class="clippy" width="13" alt="Copy to clipboard"></button></pre>
</div></div>

</div>
Expand All @@ -736,7 +736,7 @@ <h4 id="avaje-inject-mvc-routes"><a class="anchor" href="#avaje-inject-mvc-route
<div class="title">MVC and Avaje Inject</div>

<div class="switch"><div class="switch--item option-1 selected">Java</div><div class="switch--item option-2">Kotlin</div></div><div class="content option-1">
<pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java" id="xb9ba209d0ea24ee6">public class App extends Jooby {
<pre class="highlightjs highlight"><code class="language-java hljs" data-lang="java" id="x5d5218a8068e4692">public class App extends Jooby {

{
install(AvajeInjectModule.of()); <i class="conum" data-value="1"></i><b>(1)</b>
Expand All @@ -747,15 +747,15 @@ <h4 id="avaje-inject-mvc-routes"><a class="anchor" href="#avaje-inject-mvc-route
public static void main(String[] args) {
runApp(args, App::new);
}
}</code><button class="clipboard" data-clipboard-target="#xb9ba209d0ea24ee6"><img src="/images/clippy.svg" class="clippy" width="13" alt="Copy to clipboard"></button></pre>
}</code><button class="clipboard" data-clipboard-target="#x5d5218a8068e4692"><img src="/images/clippy.svg" class="clippy" width="13" alt="Copy to clipboard"></button></pre>
</div><div class="content hidden option-2">
<pre class="highlightjs highlight"><code class="language-kotlin hljs" data-lang="kotlin" id="x3fdc010216cb45da">fun main(args: Array&lt;String&gt;) {
<pre class="highlightjs highlight"><code class="language-kotlin hljs" data-lang="kotlin" id="xd6aa7cd1e0d34f59">fun main(args: Array&lt;String&gt;) {
runApp(args) {
install(AvajeInjectModule.of()) <i class="conum" data-value="1"></i><b>(1)</b>

mvc(MyController::class) <i class="conum" data-value="2"></i><b>(2)</b>
}
}</code><button class="clipboard" data-clipboard-target="#x3fdc010216cb45da"><img src="/images/clippy.svg" class="clippy" width="13" alt="Copy to clipboard"></button></pre>
}</code><button class="clipboard" data-clipboard-target="#xd6aa7cd1e0d34f59"><img src="/images/clippy.svg" class="clippy" width="13" alt="Copy to clipboard"></button></pre>
</div></div>

<div class="colist arabic">
Expand Down
Loading

0 comments on commit a2c8d9a

Please sign in to comment.