diff --git a/README.md b/README.md index 0f0499e..d689ed5 100644 --- a/README.md +++ b/README.md @@ -53,8 +53,8 @@ scoping support, especially on Android. _This is the result._ ```gradle dependencies { - implementation "com.afollestad:ulfberht:0.0.1-beta3" - kapt "com.afollestad:ulfbert-processor:0.0.1-beta3" + implementation "com.afollestad:ulfberht:0.0.1-beta4" + kapt "com.afollestad:ulfbert-processor:0.0.1-beta4" } ``` diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md index 3d720e0..c537038 100644 --- a/RELEASE_NOTES.md +++ b/RELEASE_NOTES.md @@ -1,4 +1,3 @@ -0.1.0 beta3 +0.1.0 beta4 -* Circular dependency detection. -* Internal cleanup and generated code cleanup. \ No newline at end of file +* Runtime dependencies - see the README for an example of when this is needed. diff --git a/core/src/test/kotlin/com/afollestad/ulfberht/TestComponents.kt b/core/src/test/kotlin/com/afollestad/ulfberht/TestComponents.kt index 14faa0c..e692678 100644 --- a/core/src/test/kotlin/com/afollestad/ulfberht/TestComponents.kt +++ b/core/src/test/kotlin/com/afollestad/ulfberht/TestComponents.kt @@ -44,6 +44,7 @@ class ComponentParent_Component( override val originalType: KClass<*> = ComponentParent::class override val children: MutableSet = mutableSetOf() override val modules: Set = setOf(Module1_Module(this)) + override var runtimeDependencies: Map? = null override fun getProvider( wantedType: KClass, @@ -67,6 +68,7 @@ class ComponentChild1_Component( override val originalType: KClass<*> = ComponentParent::class override val children: MutableSet = mutableSetOf() override val modules: Set = setOf(Module2_Module(this)) + override var runtimeDependencies: Map? = null override fun getProvider( wantedType: KClass, @@ -89,6 +91,7 @@ class ComponentChild2_Component( override val originalType: KClass<*> = ComponentParent::class override val children: MutableSet = mutableSetOf() override val modules: Set = setOf(Module3_Module(this)) + override var runtimeDependencies: Map? = null override fun getProvider( wantedType: KClass, diff --git a/dependencies.gradle b/dependencies.gradle index 640fdf8..6a59265 100644 --- a/dependencies.gradle +++ b/dependencies.gradle @@ -2,8 +2,8 @@ ext.versions = [ minSdk : 19, compileSdk : 29, buildTools : '29.0.0', - publishVersion : '0.1.0-beta3', - publishVersionCode: 4, + publishVersion : '0.1.0-beta4', + publishVersionCode: 5, gradlePlugin : '3.4.2', spotlessPlugin : '3.23.1',