Move sync package to org.isoron.uhabits.core

This commit is contained in:
2020-12-21 17:13:08 -06:00
parent 9681b7b5ef
commit 9743b05a78
9 changed files with 8 additions and 6 deletions

View File

@@ -28,6 +28,7 @@ import io.ktor.client.request.*
import io.ktor.http.*
import junit.framework.Assert.*
import kotlinx.coroutines.*
import org.isoron.uhabits.core.sync.*
import org.junit.*
@MediumTest

View File

@@ -26,6 +26,7 @@ import io.ktor.client.features.*
import io.ktor.client.features.json.*
import io.ktor.client.request.*
import kotlinx.coroutines.*
import org.isoron.uhabits.core.sync.*
class RemoteSyncServer(
private val baseURL: String,

View File

@@ -27,6 +27,7 @@ import org.isoron.androidbase.*
import org.isoron.uhabits.core.*
import org.isoron.uhabits.core.commands.*
import org.isoron.uhabits.core.preferences.*
import org.isoron.uhabits.core.sync.*
import org.isoron.uhabits.core.tasks.*
import org.isoron.uhabits.tasks.*
import org.isoron.uhabits.utils.*

View File

@@ -17,7 +17,7 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package org.isoron.uhabits.sync
package org.isoron.uhabits.core.sync
interface AbstractSyncServer {
/**

View File

@@ -19,7 +19,7 @@
@file:Suppress("UnstableApiUsage")
package org.isoron.uhabits.sync
package org.isoron.uhabits.core.sync
import com.google.common.io.*
import kotlinx.coroutines.*

View File

@@ -17,7 +17,7 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package org.isoron.uhabits.sync
package org.isoron.uhabits.core.sync
data class SyncData(
val version: Long,

View File

@@ -17,7 +17,7 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package org.isoron.uhabits.sync
package org.isoron.uhabits.core.sync
open class SyncException: RuntimeException()

View File

@@ -20,7 +20,7 @@
package org.isoron.uhabits.core.ui.screens.sync
import org.isoron.uhabits.core.preferences.*
import org.isoron.uhabits.sync.*
import org.isoron.uhabits.core.sync.*
class SyncBehavior(
val screen: Screen,

View File

@@ -20,7 +20,6 @@ package org.isoron.uhabits.core.sync
import kotlinx.coroutines.*
import org.hamcrest.Matchers.*
import org.isoron.uhabits.sync.*
import org.junit.*
import org.junit.Assert.*
import java.io.*