spierce7
12/01/2019, 4:39 AMbasher
12/01/2019, 6:02 AMlouiscad
12/01/2019, 7:34 PMbasher
12/01/2019, 8:22 PMSam
12/01/2019, 8:26 PMspierce7
12/01/2019, 8:40 PMactual
definitions between all 3 source sets, which is annoying. People have been having to use hacks to work around this. HMPP should allow us to create a commonIos
source set that all 3 of these source sets inherit from. Previously, any source sets that weren’t directly tied to a specific target were considered common
, and thus couldn’t use any target specific code, but again, HMPP should fix this.Kurt Renzo Acosta
12/02/2019, 12:39 AMlouiscad
12/02/2019, 2:05 AMspierce7
12/02/2019, 2:52 AMandroid<Variant>
source sets now instead of the android plugin source sets?
What about the dependencies? Should the dependencies be added via the android<Variant>
source set dependencies, or via the standard project level dependencies
block?louiscad
12/02/2019, 9:19 AMandroidMain
source set is already supported and reaches main
created by AGP.Sebastian Sellmair [JB]
12/02/2019, 11:50 AMspierce7
12/02/2019, 2:58 PMHaving them declared inI tried it a few weeks ago, but ran into issues, and went back to the standard android source sets.source set is already supportedandroidMain
Sebastian Sellmair [JB]
12/02/2019, 2:59 PMspierce7
12/02/2019, 2:59 PMAndroidManifest.xml
in the main
anyways.AndroidManifest.xml
didn’t work inside androidMain
Sebastian Sellmair [JB]
12/02/2019, 3:12 PMandroid {
sourceSets {
getByName("main").run {
manifest.srcFile(file("src/androidMain/AndroidManifest.xml"))
}
}
}
Note: coded straight from my head. No idea how the API’s really look like!spierce7
12/02/2019, 3:42 PMSebastian Sellmair [JB]
12/02/2019, 3:47 PM