diff --git a/Readme.md b/Readme.md index 15c1678..8c226e6 100644 --- a/Readme.md +++ b/Readme.md @@ -8,6 +8,18 @@ | debug | http://192.168.2.7:18828 | 是 | | release | https://track.23544.com | 否 | ### 使用 +```groovy +/** + * 因为是本地引入AAR 所以需要手动导入下列必备依赖 版本可根据项目调整 + */ +implementation("com.squareup.retrofit2:retrofit:3.0.0") +implementation("com.squareup.retrofit2:converter-moshi:3.0.0") +implementation("com.squareup.okhttp3:logging-interceptor:5.3.2") +implementation("com.squareup.moshi:moshi:1.15.2") +implementation("androidx.work:work-runtime-ktx:2.11.0") +implementation("androidx.room:room-runtime:2.8.4") +implementation("androidx.room:room-ktx:2.8.4") +``` ```kotlin /** * 初始化 diff --git a/aar/debug/trackingPoint-debug-1.0.0.aar b/aar/debug/trackingPoint-debug-1.0.1.aar similarity index 100% rename from aar/debug/trackingPoint-debug-1.0.0.aar rename to aar/debug/trackingPoint-debug-1.0.1.aar diff --git a/aar/release/trackingPoint-release-1.0.0.aar b/aar/release/trackingPoint-release-1.0.1.aar similarity index 100% rename from aar/release/trackingPoint-release-1.0.0.aar rename to aar/release/trackingPoint-release-1.0.1.aar diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 8f85cb6..00ba8fe 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -28,11 +28,9 @@ androidx-constraintlayout = { group = "androidx.constraintlayout", name = "const retrofit = { group = "com.squareup.retrofit2", name = "retrofit", version.ref = "retrofit" } retrofit-converter-moshi = { group = "com.squareup.retrofit2", name = "converter-moshi", version.ref = "retrofit" } moshi={ group = "com.squareup.moshi", name = "moshi", version.ref = "moshi" } -moshi-kotlin={ group = "com.squareup.moshi", name = "moshi-kotlin", version.ref = "moshi" } moshi-kotlin-codegen={ group = "com.squareup.moshi", name = "moshi-kotlin-codegen", version.ref = "moshi" } okhttp-logging-interceptor = { group = "com.squareup.okhttp3", name = "logging-interceptor", version.ref = "okhttp" } androidx-work-ktx = { group = "androidx.work", name = "work-runtime-ktx", version.ref = "worker" } - androidx-room = { group = "androidx.room", name = "room-runtime", version.ref = "room" } androidx-room-ksp = { group = "androidx.room", name = "room-compiler", version.ref = "room" } androidx-room-ktx = { group = "androidx.room", name = "room-ktx", version.ref = "room" } diff --git a/library/build.gradle.kts b/library/build.gradle.kts index 326d5a4..fd28e35 100644 --- a/library/build.gradle.kts +++ b/library/build.gradle.kts @@ -6,7 +6,7 @@ plugins { alias(libs.plugins.ksp) } -version = "1.0.0" +version = "1.0.1" android { namespace = "com.yuanxuan.tracking_point.library" @@ -46,10 +46,6 @@ android { } dependencies { - testImplementation(libs.junit) - androidTestImplementation(libs.androidx.junit) - androidTestImplementation(libs.androidx.espresso.core) - implementation(libs.androidx.core.ktx) implementation(libs.androidx.work.ktx) implementation(libs.retrofit)