Skip to content

Commit b05f366

Browse files
committed
feat: add Java sample
1 parent 45b811f commit b05f366

File tree

3 files changed

+7
-8
lines changed

3 files changed

+7
-8
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
package cn.jailedbird.core.common.expose
2+
3+
interface TestJavaLibraryExpose {
4+
fun testJavaLibraryExpose()
5+
}
Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,3 @@
11
plugins {
2-
id("java-library")
3-
id("org.jetbrains.kotlin.jvm")
4-
}
5-
6-
java {
7-
sourceCompatibility = JavaVersion.VERSION_17
8-
targetCompatibility = JavaVersion.VERSION_17
2+
alias(libs.plugins.nowinandroid.jvm.library)
93
}

settings.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,6 @@ rootProject.name = "ModuleExpose"
3434
include(":app")
3535
include(":core:settings")
3636
include(":core:resource")
37-
include(":core:common")
37+
includeWithJavaApi(":core:common")
3838
includeWithApi(":feature:settings")
3939
includeWithApi(":feature:search")

0 commit comments

Comments
 (0)