Prateek Grover
12/11/2019, 2:02 PMspierce7
12/11/2019, 4:45 PM./gradlew :<your project name here>:tasks
You should see something like this:
Build tasks
-----------
assemble - Assembles the outputs of this project.
build - Assembles and tests this project.
buildDependents - Assembles and tests this project and all projects that depend on it.
buildNeeded - Assembles and tests this project and all projects it depends on.
clean - Deletes the build directory.
compileKotlinLinuxX64 - Compiles a klibrary from the 'main' compilation for target 'native'.
compileKotlinMacosX64 - Compiles a klibrary from the 'main' compilation for target 'native'.
compileTestKotlinLinuxX64 - Compiles a klibrary from the 'test' compilation for target 'native'.
compileTestKotlinMacosX64 - Compiles a klibrary from the 'test' compilation for target 'native'.
jsJar - Assembles a jar archive containing the main classes.
jsMainClasses - Assembles outputs for compilation 'main' of target 'js'
jsTestClasses - Assembles outputs for compilation 'test' of target 'js'
jvmJar - Assembles a jar archive containing the main classes.
jvmMainClasses - Assembles outputs for compilation 'main' of target 'jvm'
jvmTestClasses - Assembles outputs for compilation 'test' of target 'jvm'
linkDebugTestLinuxX64 - Links a test executable 'debugTest' for a target 'linuxX64'.
linkDebugTestMacosX64 - Links a test executable 'debugTest' for a target 'macosX64'.
linuxX64MainKlibrary - Assembles outputs for compilation 'main' of target 'linuxX64'
linuxX64TestKlibrary - Assembles outputs for compilation 'test' of target 'linuxX64'
macosX64MainKlibrary - Assembles outputs for compilation 'main' of target 'macosX64'
macosX64TestKlibrary - Assembles outputs for compilation 'test' of target 'macosX64'
metadataJar - Assembles a jar archive containing the main classes.
metadataMainClasses - Assembles outputs for compilation 'main' of target 'metadata'
There is a build task to build the various different source sets and targets. Is that what you were looking for?Prateek Grover
12/12/2019, 4:57 AMPrateek Grover
12/12/2019, 4:58 AMtargets {
for (target in getIOSTargetList()) {
target.apply {
println("target is ${this.name}")
binaries {
framework(frameworkName, getNativeBuildTypes()) {
export(project(":phonepe-kn-kernel"))
export(project(":phonepe-kn-os"))
export(project(":analytics"))
}
}
}
}
}
Prateek Grover
12/12/2019, 4:58 AMPrateek Grover
12/12/2019, 9:07 AM