Colton Idle
10/24/2025, 3:46 PMJacob Ras
10/24/2025, 3:56 PM--dry-run, it will show that it calls release tasks on the library (like compileReleaseKotlinAndroid and others).Colton Idle
10/24/2025, 4:16 PMColton Idle
10/24/2025, 4:30 PMtrevjones
10/24/2025, 5:02 PMpublishing {
multipleVariants {
allVariants()
withSourcesJar()
}
}
Personally I prefer that since it makes consuming from maven basically 1:1 behavior with depending on a project in the same build.
For quite a while the IDE wouldn't handle source loading correctly when consuming multiple variants but its fine now.