Skip to content

Commit

Permalink
Merge pull request #14 from isaac-udy/typing-overhaul
Browse files Browse the repository at this point in the history
1.3.0-alpha01 Overhaul
  • Loading branch information
isaac-udy authored Dec 28, 2020
2 parents 799bc5b + 9e4b701 commit 1ef4c10
Show file tree
Hide file tree
Showing 97 changed files with 3,235 additions and 1,814 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ jobs:
uses: reactivecircus/android-emulator-runner@v2
with:
api-level: 29
script: ./gradlew :enro-core:connectedCheck
script: ./gradlew :enro:connectedCheck
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
buildscript {
ext.kotlin_version = "1.4.10"
ext.kotlin_version = "1.4.20"
repositories {
mavenLocal()
google()
Expand Down
4 changes: 4 additions & 0 deletions common.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,10 @@ ext.androidLibrary = {
}
}

kotlin {
explicitApi()
}

dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
package nav.enro.annotations

import kotlin.reflect.KClass
import java.lang.annotation.RetentionPolicy;

@Retention(AnnotationRetention.BINARY)
@Target(AnnotationTarget.CLASS)
annotation class NavigationDestination(
val key: KClass<out Any>,
val allowDefault: Boolean = false
val key: KClass<out Any>
)

@Retention(AnnotationRetention.BINARY)
Expand Down
36 changes: 0 additions & 36 deletions enro-core/src/androidTest/java/nav/enro/core/TestApplication.kt

This file was deleted.

34 changes: 0 additions & 34 deletions enro-core/src/androidTest/java/nav/enro/core/TestDestinations.kt

This file was deleted.

83 changes: 0 additions & 83 deletions enro-core/src/androidTest/java/nav/enro/core/TestViews.kt

This file was deleted.

This file was deleted.

4 changes: 2 additions & 2 deletions enro-core/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="nav.enro.core">
<application>
<activity android:name=".internal.SingleFragmentActivity" />
<activity android:name=".internal.HiltSingleFragmentActivity" />
<activity android:name=".fragment.internal.SingleFragmentActivity" />
<activity android:name=".fragment.internal.HiltSingleFragmentActivity" />
</application>
</manifest>
Loading

0 comments on commit 1ef4c10

Please sign in to comment.