Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AS3 example on AS only works after being built from the command line #14

Open
dschmitt007 opened this issue Jul 13, 2018 · 1 comment
Open

Comments

@dschmitt007
Copy link

With Android Studio: 3.1.3
And the android build plugin: com.android.tools.build:gradle:3.1.3
With Kotlin 1.2.30

project.afterEvaluate {
javaPreCompileDebug.dependsOn externalNativeBuildDebug
}

doesn't get triggered when loading the project after pulling from revision control.

It looks like AS is doing something with generateJsonModelDebug to make the list of files it wants to look at, using that to decide what it hammers on, and can't run the externalNativeBuildDebug without the JsonModel.

@dschmitt007
Copy link
Author

It feels like moving the SWIG generation code outside the library CMakelist.txt would give gradle a fighting chance to not have some loop dependency. (I'm thinking 2nd CMakelist.txt, special gradle task that just does the swig part that AS won't care about to avoid the loop.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant