i-8: Rename app package to org.tle #10

Merged
emil merged 1 commits from i-8-rename-app-package into main 2025-02-16 02:02:34 +00:00
13 changed files with 20 additions and 20 deletions

View File

@ -40,7 +40,7 @@ kotlin {
} }
android { android {
namespace = "com.tle.astrologylibrary" Re namespace = "org.tle.astrologylibrary"
compileSdk = 35 compileSdk = 35
defaultConfig { defaultConfig {
minSdk = 24 minSdk = 24
@ -52,6 +52,6 @@ android {
} }
allOpen { allOpen {
annotation("com.tle.astrologylibrary.OpenForMokkery") annotation("org.tle.astrologylibrary.OpenForMokkery")
// annotations("com.another.Annotation", "com.third.Annotation") // annotations("com.another.Annotation", "com.third.Annotation")
} }

View File

@ -1,4 +1,4 @@
package com.tle.astrologylibrary package org.tle.astrologylibrary
class AndroidPlatform : Platform { class AndroidPlatform : Platform {
override val name: String = "Android ${android.os.Build.VERSION.SDK_INT}" override val name: String = "Android ${android.os.Build.VERSION.SDK_INT}"

View File

@ -1,4 +1,4 @@
package com.tle.astrologylibrary package org.tle.astrologylibrary
import org.junit.Assert.assertTrue import org.junit.Assert.assertTrue
import org.junit.Test import org.junit.Test

View File

@ -1,3 +0,0 @@
package com.tle.astrologylibrary
annotation class OpenForMokkery()

View File

@ -1,7 +0,0 @@
package com.tle.astrologylibrary
interface Platform {
val name: String
}
expect fun getPlatform(): Platform

View File

@ -1,4 +1,4 @@
package com.tle.astrologylibrary package org.tle.astrologylibrary
class Greeting { class Greeting {
private val platform: Platform = getPlatform() private val platform: Platform = getPlatform()

View File

@ -0,0 +1,3 @@
package org.tle.astrologylibrary
annotation class OpenForMokkery()

View File

@ -0,0 +1,7 @@
package org.tle.astrologylibrary
interface Platform {
val name: String
}
expect fun getPlatform(): Platform

View File

@ -1,4 +1,4 @@
package com.tle.astrologylibrary package org.tle.astrologylibrary
@OpenForMokkery @OpenForMokkery
class A constructor() class A constructor()

View File

@ -1,4 +1,4 @@
package com.tle.astrologylibrary package org.tle.astrologylibrary
import dev.mokkery.mock import dev.mokkery.mock
import kotlin.test.Test import kotlin.test.Test

View File

@ -1,4 +1,4 @@
package com.tle.astrologylibrary package org.tle.astrologylibrary
import kotlin.test.Test import kotlin.test.Test
import kotlin.test.assertTrue import kotlin.test.assertTrue

View File

@ -1,4 +1,4 @@
package com.tle.astrologylibrary package org.tle.astrologylibrary
import platform.UIKit.UIDevice import platform.UIKit.UIDevice

View File

@ -1,4 +1,4 @@
package com.tle.astrologylibrary package org.tle.astrologylibrary
import kotlin.test.Test import kotlin.test.Test
import kotlin.test.assertTrue import kotlin.test.assertTrue