Skip to content

Commit a600945

Browse files
committed
feat: encapsulates the pingyin code as a jar
1 parent 9d9f4a7 commit a600945

27 files changed

+3
-3137
lines changed

app/build.gradle

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ android {
4444
}
4545

4646
dependencies {
47+
implementation fileTree(dir: 'libs', include: ['*.jar'])
4748
implementation 'androidx.core:core-ktx:1.9.0'
4849
implementation 'androidx.appcompat:appcompat:1.5.1'
4950
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
@@ -60,7 +61,7 @@ dependencies {
6061
implementation("androidx.navigation:navigation-ui-ktx:$nav_version")
6162

6263
ksp("androidx.room:room-compiler:$room_version")
63-
implementation project(":lib")
64+
// implementation project(":lib")
6465
implementation("com.github.JailedBird:EdgeUtils:0.0.1-beta06")
6566
// Hilt https://developer.android.com/training/dependency-injection/hilt-android
6667
def hilt = "2.44"

app/libs/lib.jar

96.2 KB
Binary file not shown.

lib/build.gradle

Lines changed: 0 additions & 44 deletions
This file was deleted.
-160 KB
Binary file not shown.

lib/src/jmh/java/com/github/promeg/pinyinhelper/BenchmarkUtils.java

Lines changed: 0 additions & 64 deletions
This file was deleted.

lib/src/jmh/java/com/github/promeg/pinyinhelper/PinyinDictBenchmark1.java

Lines changed: 0 additions & 33 deletions
This file was deleted.

lib/src/jmh/java/com/github/promeg/pinyinhelper/PinyinDictBenchmark2.java

Lines changed: 0 additions & 56 deletions
This file was deleted.

lib/src/jmh/java/com/github/promeg/pinyinhelper/PinyinSampleBenchmark.java

Lines changed: 0 additions & 64 deletions
This file was deleted.

lib/src/main/java/com/github/promeg/pinyinhelper/Engine.java

Lines changed: 0 additions & 114 deletions
This file was deleted.

0 commit comments

Comments
 (0)