[Gradle] Fix KotlinAndroidMppIT.testLintInAndroidProjectsDependingOnMppWithoutAndroid
#KT-45748 In Progress
This commit is contained in:
committed by
Space Team
parent
d980f94fff
commit
026288155c
+2
-3
@@ -537,7 +537,6 @@ class KotlinAndroidMppIT : KGPBaseTest() {
|
||||
|
||||
@DisplayName("KT-27170: android lint works with dependency on non-android mpp project")
|
||||
@GradleAndroidTest
|
||||
@Disabled // not fully migrated yet
|
||||
fun testLintInAndroidProjectsDependingOnMppWithoutAndroid(
|
||||
gradleVersion: GradleVersion,
|
||||
agpVersion: String,
|
||||
@@ -549,8 +548,8 @@ class KotlinAndroidMppIT : KGPBaseTest() {
|
||||
buildOptions = defaultBuildOptions.copy(androidVersion = agpVersion),
|
||||
buildJdk = jdkVersion.location
|
||||
) {
|
||||
// embedProject(Project("sample-lib", directoryPrefix = "new-mpp-lib-and-app")) // TODO
|
||||
subProject("lib").buildGradle.appendText(
|
||||
includeOtherProjectAsSubmodule(pathPrefix = "new-mpp-lib-and-app", otherProjectName = "sample-lib")
|
||||
subProject("Lib").buildGradle.appendText(
|
||||
//language=Gradle
|
||||
"""
|
||||
|
||||
|
||||
+3
-3
@@ -24,9 +24,9 @@ import kotlin.io.path.*
|
||||
import kotlin.test.assertTrue
|
||||
|
||||
/**
|
||||
* Create new test project.
|
||||
* Create a new test project.
|
||||
*
|
||||
* @param [projectName] test project name in 'src/test/resources/testProject` directory.
|
||||
* @param [projectName] test project name in `src/test/resources/testProject` directory.
|
||||
* @param [buildOptions] common Gradle build options
|
||||
* @param [buildJdk] path to JDK build should run with. *Note* Only append to 'gradle.properties'!
|
||||
*/
|
||||
@@ -83,7 +83,7 @@ fun KGPBaseTest.project(
|
||||
}
|
||||
|
||||
/**
|
||||
* Create new test project with configuring single native target.
|
||||
* Create a new test project with configuring single native target.
|
||||
*
|
||||
* @param [projectName] test project name in 'src/test/resources/testProject` directory.
|
||||
* @param [buildOptions] common Gradle build options
|
||||
|
||||
Reference in New Issue
Block a user