i-3: Add Mokkery as a mocking library #6

Merged
emil merged 6 commits from i-3-add-mock-library into main 2025-02-16 01:46:55 +00:00
2 changed files with 9 additions and 0 deletions
Showing only changes of commit 6f762a40eb - Show all commits

View File

@ -6,6 +6,7 @@ plugins {
alias(libs.plugins.kotlinMultiplatform)
alias(libs.plugins.androidLibrary)
id("dev.mokkery") version "2.0.0"
kotlin("plugin.allopen") version "2.1.10"
}
kotlin {
@ -49,3 +50,8 @@ android {
targetCompatibility = JavaVersion.VERSION_1_8
}
}
allOpen {
annotation("com.tle.astrologylibrary.OpenForMokkery")
// annotations("com.another.Annotation", "com.third.Annotation")
}

View File

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