Wizard: return junit back to android target
This commit is contained in:
+3
-1
@@ -39,7 +39,9 @@ kotlin {
|
||||
}
|
||||
}
|
||||
androidTest {
|
||||
|
||||
dependencies {
|
||||
implementation 'junit:junit:4.13'
|
||||
}
|
||||
}
|
||||
desktopMain {
|
||||
|
||||
|
||||
+5
-1
@@ -36,7 +36,11 @@ kotlin {
|
||||
api("androidx.core:core-ktx:1.3.1")
|
||||
}
|
||||
}
|
||||
val androidTest by getting
|
||||
val androidTest by getting {
|
||||
dependencies {
|
||||
implementation("junit:junit:4.13")
|
||||
}
|
||||
}
|
||||
val desktopMain by getting
|
||||
val desktopTest by getting
|
||||
}
|
||||
|
||||
+5
@@ -207,6 +207,11 @@ object AndroidTargetConfigurator : TargetConfigurator,
|
||||
buildList {
|
||||
+super<ModuleConfiguratorWithTests>.createModuleIRs(reader, configurationData, module)
|
||||
+super<AndroidModuleConfigurator>.createModuleIRs(reader, configurationData, module)
|
||||
+ArtifactBasedLibraryDependencyIR(
|
||||
MavenArtifact(DefaultRepository.MAVEN_CENTRAL, "junit", "junit"),
|
||||
version = Versions.JUNIT,
|
||||
dependencyType = DependencyType.TEST
|
||||
)
|
||||
}
|
||||
|
||||
override fun createBuildFileIRs(reader: Reader, configurationData: ModulesToIrConversionData, module: Module): List<BuildSystemIR> =
|
||||
|
||||
Reference in New Issue
Block a user