Skip to content

Commit b8f4643

Browse files
committed
JetBrainsFork mode. Disable Android compilation during IDEA sync
1 parent 6deebbe commit b8f4643

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

buildSrc/private/src/main/kotlin/androidx/build/AndroidXImplPlugin.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -751,7 +751,8 @@ abstract class AndroidXImplPlugin @Inject constructor() : Plugin<Project> {
751751
BuildTypeAttr.ATTRIBUTE,
752752
project.objects.named<BuildTypeAttr>("release"),
753753
)
754-
it.outgoing.artifact(project.tasks.named("createFullJarAndroidMain"))
754+
// disable, as it triggers android compilation during IDEA sync
755+
if (!isJetBrainsFork(project)) it.outgoing.artifact(project.tasks.named("createFullJarAndroidMain"))
755756
}
756757
}
757758
}

0 commit comments

Comments
 (0)