rename module component -> common
This commit is contained in:
18 files changed
+16
-16
No files matched your search
@@ -71,7 +71,7 @@ dependencies {
|
||||
implementation(project(":core"))
|
||||
implementation(project(":service"))
|
||||
implementation(project(":design"))
|
||||
implementation(project(":component"))
|
||||
implementation(project(":common"))
|
||||
implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8:$gKotlinVersion")
|
||||
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:$gKotlinCoroutineVersion")
|
||||
implementation("androidx.lifecycle:lifecycle-extensions:$gLifecycleVersion")
|
||||
|
||||
@@ -3,7 +3,7 @@ package com.github.kr328.clash
|
||||
import android.content.BroadcastReceiver
|
||||
import android.content.Context
|
||||
import android.content.Intent
|
||||
import com.github.kr328.clash.component.ids.Intents
|
||||
import com.github.kr328.clash.common.ids.Intents
|
||||
import com.github.kr328.clash.service.ProfileBackgroundService
|
||||
import com.github.kr328.clash.service.util.componentName
|
||||
import com.github.kr328.clash.service.util.startForegroundServiceCompat
|
||||
|
||||
@@ -6,7 +6,7 @@ import android.os.Bundle
|
||||
import androidx.recyclerview.widget.LinearLayoutManager
|
||||
import com.github.kr328.clash.adapter.ProfileAdapter
|
||||
import com.github.kr328.clash.remote.withProfile
|
||||
import com.github.kr328.clash.component.ids.Intents
|
||||
import com.github.kr328.clash.common.ids.Intents
|
||||
import com.github.kr328.clash.service.ProfileBackgroundService
|
||||
import com.github.kr328.clash.service.data.ClashProfileEntity
|
||||
import com.github.kr328.clash.service.transact.ProfileRequest
|
||||
|
||||
@@ -8,7 +8,7 @@ import android.graphics.drawable.Icon
|
||||
import android.service.quicksettings.Tile
|
||||
import android.service.quicksettings.TileService
|
||||
import com.github.kr328.clash.remote.RemoteUtils
|
||||
import com.github.kr328.clash.component.ids.Intents
|
||||
import com.github.kr328.clash.common.ids.Intents
|
||||
import com.github.kr328.clash.utils.startClashService
|
||||
import com.github.kr328.clash.utils.stopClashService
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ import android.content.IntentFilter
|
||||
import androidx.lifecycle.DefaultLifecycleObserver
|
||||
import androidx.lifecycle.LifecycleOwner
|
||||
import androidx.lifecycle.ProcessLifecycleOwner
|
||||
import com.github.kr328.clash.component.ids.Intents
|
||||
import com.github.kr328.clash.common.ids.Intents
|
||||
|
||||
object Broadcasts {
|
||||
interface Receiver {
|
||||
|
||||
@@ -5,7 +5,7 @@ import android.content.Intent
|
||||
import android.net.VpnService
|
||||
import com.github.kr328.clash.preference.UiSettings
|
||||
import com.github.kr328.clash.service.ClashService
|
||||
import com.github.kr328.clash.component.ids.Intents
|
||||
import com.github.kr328.clash.common.ids.Intents
|
||||
import com.github.kr328.clash.service.TunService
|
||||
import com.github.kr328.clash.service.util.intent
|
||||
import com.github.kr328.clash.service.util.sendBroadcastSelf
|
||||
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -1,4 +1,4 @@
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="com.github.kr328.clash.component">
|
||||
package="com.github.kr328.clash.common">
|
||||
<uses-permission android:name="android.permission.INTERNET" />
|
||||
</manifest>
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
package com.github.kr328.clash.component.ids
|
||||
package com.github.kr328.clash.common.ids
|
||||
|
||||
import com.github.kr328.clash.component.BuildConfig
|
||||
import com.github.kr328.clash.common.BuildConfig
|
||||
|
||||
object Intents {
|
||||
const val INTENT_ACTION_CLASH_STARTED =
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.github.kr328.clash.component.ids
|
||||
package com.github.kr328.clash.common.ids
|
||||
|
||||
object NotificationChannels {
|
||||
const val CLASH_STATUS = "clash_status_channel"
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.github.kr328.clash.component.ids
|
||||
package com.github.kr328.clash.common.ids
|
||||
|
||||
object NotificationIds {
|
||||
const val CLASH_STATUS = 1
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.github.kr328.clash.component.time
|
||||
package com.github.kr328.clash.common.time
|
||||
|
||||
import kotlinx.coroutines.*
|
||||
import kotlinx.coroutines.channels.Channel
|
||||
@@ -65,7 +65,7 @@ android {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation(project(":component"))
|
||||
implementation(project(":common"))
|
||||
implementation("androidx.core:core-ktx:$gAndroidKtxVersion")
|
||||
implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8:$gKotlinVersion")
|
||||
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:$gKotlinCoroutineVersion")
|
||||
|
||||
@@ -52,7 +52,7 @@ android {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation(project(":component"))
|
||||
implementation(project(":common"))
|
||||
implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8:$gKotlinVersion")
|
||||
implementation("androidx.appcompat:appcompat:$gAppCompatVersion")
|
||||
implementation("androidx.core:core-ktx:$gAndroidKtxVersion")
|
||||
|
||||
@@ -62,7 +62,7 @@ dependencies {
|
||||
kapt("androidx.room:room-compiler:$gRoomVersion")
|
||||
|
||||
implementation(project(":core"))
|
||||
implementation(project(":component"))
|
||||
implementation(project(":common"))
|
||||
implementation("org.jetbrains.kotlinx:kotlinx-serialization-runtime:$gKotlinSerializationVersion")
|
||||
implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8:$gKotlinVersion")
|
||||
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:$gKotlinCoroutineVersion")
|
||||
|
||||
+1
-1
@@ -2,6 +2,6 @@ include(":app")
|
||||
include(":core")
|
||||
include(":service")
|
||||
include(":design")
|
||||
include(":component")
|
||||
include(":common")
|
||||
|
||||
rootProject.name = "ClashForAndroid"
|
||||
Reference in new issue
Block a user