Skip to content

Commit

Permalink
Configs and docs for 1.1 release
Browse files Browse the repository at this point in the history
  • Loading branch information
gouline committed May 8, 2021
1 parent ffdb848 commit 7a3384c
Show file tree
Hide file tree
Showing 40 changed files with 1,591 additions and 57 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Change Log

## Version 1.1 (2021-05-08)

* Change package prefix from `space.traversal` to `net.gouline` after repository migration.
* Remove Bintray publishing process.

## Version 1.0 (2019-05-30)

* Update dependency versions.
Expand Down
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,18 +43,20 @@ To accomplish all of these, Kapsule is based on [delegation](http://kotlinlang.o
To use Kapsule in your project, include it as a dependency.

#### Using Gradle:

~~~gradle
dependencies {
compile "space.traversal.kapsule:kapsule-core:1.0"
compile "net.gouline.kapsule:kapsule-core:1.1"
}
~~~

#### Or Maven:

~~~xml
<dependency>
<groupId>space.traversal.kapsule</groupId>
<groupId>net.gouline.kapsule</groupId>
<artifactId>kapsule-core</artifactId>
<version>1.0</version>
<version>1.1</version>
</dependency>
~~~

Expand Down
57 changes: 57 additions & 0 deletions docs/1.1/kapsule-core/alltypes/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
<HTML>
<HEAD>
<meta charset="UTF-8">
<title>alltypes - kapsule-core</title>
<link rel="stylesheet" href="../../style.css">
</HEAD>
<BODY>
<h3>All Types</h3>
<table>
<tbody>
<tr>
<td>
<a href="../net.gouline.kapsule/-delegate/index.html">net.gouline.kapsule.Delegate</a></td>
<td>
<p>Kapsule property delegate.</p>
</td>
</tr>
<tr>
<td>
<a href="../net.gouline.kapsule/-has-modules/index.html">net.gouline.kapsule.HasModules</a></td>
<td>
<p>Module with other submodules attached via delegation.</p>
</td>
</tr>
<tr>
<td>
<a href="../net.gouline.kapsule/-injects.html">net.gouline.kapsule.Injects</a></td>
<td>
<p>Injection interface.</p>
</td>
</tr>
<tr>
<td>
<a href="../net.gouline.kapsule/-kapsule/index.html">net.gouline.kapsule.Kapsule</a></td>
<td>
<p>Kapsule injector.</p>
</td>
</tr>
<tr>
<td>
<a href="../net.gouline.kapsule/-kapsules/index.html">net.gouline.kapsule.Kapsules</a></td>
<td>
<p>Static storage of <a href="../net.gouline.kapsule/-kapsule/index.html">Kapsule</a> instances.</p>
</td>
</tr>
<tr>
<td>
<a href="../net.gouline.kapsule/-transitive-injection-exception/index.html">net.gouline.kapsule.TransitiveInjectionException</a></td>
<td>
<p>Class cast exception indicating that a submodule depends on a module that
is not a descendant of the root module.</p>
</td>
</tr>
</tbody>
</table>
</BODY>
</HTML>
251 changes: 251 additions & 0 deletions docs/1.1/kapsule-core/index-outline.html

Large diffs are not rendered by default.

26 changes: 26 additions & 0 deletions docs/1.1/kapsule-core/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<HTML>
<HEAD>
<meta charset="UTF-8">
<title>kapsule-core</title>
<link rel="stylesheet" href="../style.css">
</HEAD>
<BODY>
<a href="./index.html">kapsule-core</a><br/>
<br/>
<h3>Packages</h3>
<table>
<tbody>
<tr>
<td>
<p><a href="net.gouline.kapsule/index.html">net.gouline.kapsule</a></p>
</td>
<td>
<p>Kapsule API</p>
</td>
</tr>
</tbody>
</table>
<h3>Index</h3>
<a href="alltypes/index.html">All Types</a>
</BODY>
</HTML>
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<HTML>
<HEAD>
<meta charset="UTF-8">
<title>Delegate.Optional.<init> - kapsule-core</title>
<link rel="stylesheet" href="../../../../style.css">
</HEAD>
<BODY>
<a href="../../../index.html">kapsule-core</a>&nbsp;/&nbsp;<a href="../../index.html">net.gouline.kapsule</a>&nbsp;/&nbsp;<a href="../index.html">Delegate</a>&nbsp;/&nbsp;<a href="index.html">Optional</a>&nbsp;/&nbsp;<a href="./-init-.html">&lt;init&gt;</a><br/>
<br/>
<h1>&lt;init&gt;</h1>
<a name="net.gouline.kapsule.Delegate.Optional$&lt;init&gt;(kotlin.Function1((net.gouline.kapsule.Delegate.Optional.M, net.gouline.kapsule.Delegate.Optional.T)))"></a>
<code><span class="identifier">Optional</span><span class="symbol">(</span><span class="identifier" id="net.gouline.kapsule.Delegate.Optional$<init>(kotlin.Function1((net.gouline.kapsule.Delegate.Optional.M, net.gouline.kapsule.Delegate.Optional.T)))/initializer">initializer</span><span class="symbol">:</span>&nbsp;<a href="index.html#M"><span class="identifier">M</span></a><span class="symbol">.</span><span class="symbol">(</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<a href="index.html#T"><span class="identifier">T</span></a><span class="symbol">?</span><span class="symbol">)</span></code>
<p>Delegate for optional (nullable) values.</p>
</BODY>
</HTML>
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<HTML>
<HEAD>
<meta charset="UTF-8">
<title>Delegate.Optional.getValue - kapsule-core</title>
<link rel="stylesheet" href="../../../../style.css">
</HEAD>
<BODY>
<a href="../../../index.html">kapsule-core</a>&nbsp;/&nbsp;<a href="../../index.html">net.gouline.kapsule</a>&nbsp;/&nbsp;<a href="../index.html">Delegate</a>&nbsp;/&nbsp;<a href="index.html">Optional</a>&nbsp;/&nbsp;<a href="./get-value.html">getValue</a><br/>
<br/>
<h1>getValue</h1>
<a name="net.gouline.kapsule.Delegate.Optional$getValue(kotlin.Any, kotlin.reflect.KProperty((kotlin.Any)))"></a>
<code><span class="keyword">operator</span> <span class="keyword">fun </span><span class="identifier">getValue</span><span class="symbol">(</span><span class="identifier" id="net.gouline.kapsule.Delegate.Optional$getValue(kotlin.Any, kotlin.reflect.KProperty((kotlin.Any)))/thisRef">thisRef</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html"><span class="identifier">Any</span></a><span class="symbol">?</span><span class="symbol">, </span><span class="identifier" id="net.gouline.kapsule.Delegate.Optional$getValue(kotlin.Any, kotlin.reflect.KProperty((kotlin.Any)))/property">property</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.reflect/-k-property/index.html"><span class="identifier">KProperty</span></a><span class="symbol">&lt;</span><span class="identifier">*</span><span class="symbol">&gt;</span><span class="symbol">)</span><span class="symbol">: </span><a href="index.html#T"><span class="identifier">T</span></a><span class="symbol">?</span></code>
<p>Delegate for value reads.</p>
</BODY>
</HTML>
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
<HTML>
<HEAD>
<meta charset="UTF-8">
<title>Delegate.Optional - kapsule-core</title>
<link rel="stylesheet" href="../../../../style.css">
</HEAD>
<BODY>
<a href="../../../index.html">kapsule-core</a>&nbsp;/&nbsp;<a href="../../index.html">net.gouline.kapsule</a>&nbsp;/&nbsp;<a href="../index.html">Delegate</a>&nbsp;/&nbsp;<a href="./index.html">Optional</a><br/>
<br/>
<h1>Optional</h1>
<code><span class="keyword">class </span><span class="identifier">Optional</span><span class="symbol">&lt;</span><span class="keyword">in</span>&nbsp;<span class="identifier">M</span><span class="symbol">, </span><span class="identifier">T</span><span class="symbol">&gt;</span>&nbsp;<span class="symbol">:</span>&nbsp;<a href="../index.html"><span class="identifier">Delegate</span></a><span class="symbol">&lt;</span><a href="index.html#M"><span class="identifier">M</span></a><span class="symbol">,</span>&nbsp;<a href="index.html#T"><span class="identifier">T</span></a><span class="symbol">&gt;</span></code>
<p>Delegate for optional (nullable) values.</p>
<h3>Constructors</h3>
<table>
<tbody>
<tr>
<td>
<p><a href="-init-.html">&lt;init&gt;</a></p>
</td>
<td>
<code><span class="identifier">Optional</span><span class="symbol">(</span><span class="identifier" id="net.gouline.kapsule.Delegate.Optional$<init>(kotlin.Function1((net.gouline.kapsule.Delegate.Optional.M, net.gouline.kapsule.Delegate.Optional.T)))/initializer">initializer</span><span class="symbol">:</span>&nbsp;<a href="index.html#M"><span class="identifier">M</span></a><span class="symbol">.</span><span class="symbol">(</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<a href="index.html#T"><span class="identifier">T</span></a><span class="symbol">?</span><span class="symbol">)</span></code>
<p>Delegate for optional (nullable) values.</p>
</td>
</tr>
</tbody>
</table>
<h3>Inherited Properties</h3>
<table>
<tbody>
<tr>
<td>
<p><a href="../value.html">value</a></p>
</td>
<td>
<code><span class="keyword">var </span><span class="identifier">value</span><span class="symbol">: </span><a href="../index.html#T"><span class="identifier">T</span></a><span class="symbol">?</span></code></td>
</tr>
</tbody>
</table>
<h3>Functions</h3>
<table>
<tbody>
<tr>
<td>
<p><a href="get-value.html">getValue</a></p>
</td>
<td>
<code><span class="keyword">operator</span> <span class="keyword">fun </span><span class="identifier">getValue</span><span class="symbol">(</span><span class="identifier" id="net.gouline.kapsule.Delegate.Optional$getValue(kotlin.Any, kotlin.reflect.KProperty((kotlin.Any)))/thisRef">thisRef</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html"><span class="identifier">Any</span></a><span class="symbol">?</span><span class="symbol">, </span><span class="identifier" id="net.gouline.kapsule.Delegate.Optional$getValue(kotlin.Any, kotlin.reflect.KProperty((kotlin.Any)))/property">property</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.reflect/-k-property/index.html"><span class="identifier">KProperty</span></a><span class="symbol">&lt;</span><span class="identifier">*</span><span class="symbol">&gt;</span><span class="symbol">)</span><span class="symbol">: </span><a href="index.html#T"><span class="identifier">T</span></a><span class="symbol">?</span></code>
<p>Delegate for value reads.</p>
</td>
</tr>
<tr>
<td>
<p><a href="set-value.html">setValue</a></p>
</td>
<td>
<code><span class="keyword">operator</span> <span class="keyword">fun </span><span class="identifier">setValue</span><span class="symbol">(</span><span class="identifier" id="net.gouline.kapsule.Delegate.Optional$setValue(kotlin.Any, kotlin.reflect.KProperty((kotlin.Any)), net.gouline.kapsule.Delegate.Optional.T)/thisRef">thisRef</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html"><span class="identifier">Any</span></a><span class="symbol">?</span><span class="symbol">, </span><span class="identifier" id="net.gouline.kapsule.Delegate.Optional$setValue(kotlin.Any, kotlin.reflect.KProperty((kotlin.Any)), net.gouline.kapsule.Delegate.Optional.T)/property">property</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.reflect/-k-property/index.html"><span class="identifier">KProperty</span></a><span class="symbol">&lt;</span><span class="identifier">*</span><span class="symbol">&gt;</span><span class="symbol">, </span><span class="identifier" id="net.gouline.kapsule.Delegate.Optional$setValue(kotlin.Any, kotlin.reflect.KProperty((kotlin.Any)), net.gouline.kapsule.Delegate.Optional.T)/t">t</span><span class="symbol">:</span>&nbsp;<a href="index.html#T"><span class="identifier">T</span></a><span class="symbol">?</span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a></code>
<p>Delegate for value writes.</p>
</td>
</tr>
</tbody>
</table>
<h3>Inherited Functions</h3>
<table>
<tbody>
<tr>
<td>
<p><a href="../initialize.html">initialize</a></p>
</td>
<td>
<code><span class="keyword">fun </span><span class="identifier">initialize</span><span class="symbol">(</span><span class="identifier" id="net.gouline.kapsule.Delegate$initialize(net.gouline.kapsule.Delegate.M)/module">module</span><span class="symbol">:</span>&nbsp;<a href="../index.html#M"><span class="identifier">M</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a></code>
<p>Initializes value from the injection module.</p>
</td>
</tr>
</tbody>
</table>
</BODY>
</HTML>
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<HTML>
<HEAD>
<meta charset="UTF-8">
<title>Delegate.Optional.setValue - kapsule-core</title>
<link rel="stylesheet" href="../../../../style.css">
</HEAD>
<BODY>
<a href="../../../index.html">kapsule-core</a>&nbsp;/&nbsp;<a href="../../index.html">net.gouline.kapsule</a>&nbsp;/&nbsp;<a href="../index.html">Delegate</a>&nbsp;/&nbsp;<a href="index.html">Optional</a>&nbsp;/&nbsp;<a href="./set-value.html">setValue</a><br/>
<br/>
<h1>setValue</h1>
<a name="net.gouline.kapsule.Delegate.Optional$setValue(kotlin.Any, kotlin.reflect.KProperty((kotlin.Any)), net.gouline.kapsule.Delegate.Optional.T)"></a>
<code><span class="keyword">operator</span> <span class="keyword">fun </span><span class="identifier">setValue</span><span class="symbol">(</span><span class="identifier" id="net.gouline.kapsule.Delegate.Optional$setValue(kotlin.Any, kotlin.reflect.KProperty((kotlin.Any)), net.gouline.kapsule.Delegate.Optional.T)/thisRef">thisRef</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html"><span class="identifier">Any</span></a><span class="symbol">?</span><span class="symbol">, </span><span class="identifier" id="net.gouline.kapsule.Delegate.Optional$setValue(kotlin.Any, kotlin.reflect.KProperty((kotlin.Any)), net.gouline.kapsule.Delegate.Optional.T)/property">property</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.reflect/-k-property/index.html"><span class="identifier">KProperty</span></a><span class="symbol">&lt;</span><span class="identifier">*</span><span class="symbol">&gt;</span><span class="symbol">, </span><span class="identifier" id="net.gouline.kapsule.Delegate.Optional$setValue(kotlin.Any, kotlin.reflect.KProperty((kotlin.Any)), net.gouline.kapsule.Delegate.Optional.T)/t">t</span><span class="symbol">:</span>&nbsp;<a href="index.html#T"><span class="identifier">T</span></a><span class="symbol">?</span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a></code>
<p>Delegate for value writes.</p>
</BODY>
</HTML>
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<HTML>
<HEAD>
<meta charset="UTF-8">
<title>Delegate.Required.<init> - kapsule-core</title>
<link rel="stylesheet" href="../../../../style.css">
</HEAD>
<BODY>
<a href="../../../index.html">kapsule-core</a>&nbsp;/&nbsp;<a href="../../index.html">net.gouline.kapsule</a>&nbsp;/&nbsp;<a href="../index.html">Delegate</a>&nbsp;/&nbsp;<a href="index.html">Required</a>&nbsp;/&nbsp;<a href="./-init-.html">&lt;init&gt;</a><br/>
<br/>
<h1>&lt;init&gt;</h1>
<a name="net.gouline.kapsule.Delegate.Required$&lt;init&gt;(kotlin.Function1((net.gouline.kapsule.Delegate.Required.M, net.gouline.kapsule.Delegate.Required.T)))"></a>
<code><span class="identifier">Required</span><span class="symbol">(</span><span class="identifier" id="net.gouline.kapsule.Delegate.Required$<init>(kotlin.Function1((net.gouline.kapsule.Delegate.Required.M, net.gouline.kapsule.Delegate.Required.T)))/initializer">initializer</span><span class="symbol">:</span>&nbsp;<a href="index.html#M"><span class="identifier">M</span></a><span class="symbol">.</span><span class="symbol">(</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<a href="index.html#T"><span class="identifier">T</span></a><span class="symbol">)</span></code>
<p>Delegate for required (non-null) values.</p>
</BODY>
</HTML>
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<HTML>
<HEAD>
<meta charset="UTF-8">
<title>Delegate.Required.getValue - kapsule-core</title>
<link rel="stylesheet" href="../../../../style.css">
</HEAD>
<BODY>
<a href="../../../index.html">kapsule-core</a>&nbsp;/&nbsp;<a href="../../index.html">net.gouline.kapsule</a>&nbsp;/&nbsp;<a href="../index.html">Delegate</a>&nbsp;/&nbsp;<a href="index.html">Required</a>&nbsp;/&nbsp;<a href="./get-value.html">getValue</a><br/>
<br/>
<h1>getValue</h1>
<a name="net.gouline.kapsule.Delegate.Required$getValue(kotlin.Any, kotlin.reflect.KProperty((kotlin.Any)))"></a>
<code><span class="keyword">operator</span> <span class="keyword">fun </span><span class="identifier">getValue</span><span class="symbol">(</span><span class="identifier" id="net.gouline.kapsule.Delegate.Required$getValue(kotlin.Any, kotlin.reflect.KProperty((kotlin.Any)))/thisRef">thisRef</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html"><span class="identifier">Any</span></a><span class="symbol">?</span><span class="symbol">, </span><span class="identifier" id="net.gouline.kapsule.Delegate.Required$getValue(kotlin.Any, kotlin.reflect.KProperty((kotlin.Any)))/property">property</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.reflect/-k-property/index.html"><span class="identifier">KProperty</span></a><span class="symbol">&lt;</span><span class="identifier">*</span><span class="symbol">&gt;</span><span class="symbol">)</span><span class="symbol">: </span><a href="index.html#T"><span class="identifier">T</span></a></code>
<p>Delegate for value reads.</p>
</BODY>
</HTML>
Loading

0 comments on commit 7a3384c

Please sign in to comment.