File tree Expand file tree Collapse file tree
scripts/templates/android Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -24,6 +24,15 @@ task wrapper(type: Wrapper) {
2424tasks. register(" prepareKotlinBuildScriptModel" ){
2525}
2626
27+ evaluationDependsOn(' :openFrameworksProject' )
28+
29+ tasks. whenTaskAdded { task ->
30+ if (task. name == ' assemble' ) {
31+ task. dependsOn(' :openFrameworksProject:assemble' )
32+ }
33+ }
34+
35+
2736android {
2837 compileSdkVersion 34
2938 buildToolsVersion ' 32.0.0'
Original file line number Diff line number Diff line change 1- include ' :ofApp'
1+ include ' :ofApp'
2+
3+ // Define the relative path to the openFrameworks project
4+ def openFrameworksProjectPath = ' ../../../libs/openFrameworksCompiled/project'
5+
6+ // Convert the relative path to an absolute path
7+ def openFrameworksProjectAbsolutePath = new File (rootDir, openFrameworksProjectPath). absolutePath
8+
9+ // Include the openFrameworks project
10+ include ' :openFrameworksProject'
11+ project(' :openFrameworksProject' ). projectDir = new File (openFrameworksProjectAbsolutePath)
You can’t perform that action at this time.
0 commit comments