Skip to content

Create configurations and src folders only for plugins that have native files #1217

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

Merged
merged 1 commit into from
Nov 19, 2015

Conversation

Fatme
Copy link
Contributor

@Fatme Fatme commented Nov 19, 2015

No description provided.

@ns-bot
Copy link

ns-bot commented Nov 19, 2015

Test PASSed.

let resourcesDestinationDirectoryPath = path.join(this.platformData.projectRoot, "src", pluginName);
this.$fs.ensureDirectoryExists(resourcesDestinationDirectoryPath).wait();
shell.cp("-Rf", path.join(pluginPlatformsFolderPath, "*"), resourcesDestinationDirectoryPath);
}

// Copy include.gradle file
let includeGradleFilePath = path.join(pluginPlatformsFolderPath, "include.gradle");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should we copy this file in case the plugin does not have native code?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, we copy it only when the plugin has platforms/android/include.gradle file

@rosen-vladimirov
Copy link
Contributor

👍

2 similar comments
@Plamen5kov
Copy link
Contributor

👍

@vchimev
Copy link

vchimev commented Nov 19, 2015

👍

Fatme pushed a commit that referenced this pull request Nov 19, 2015
…dows

Create configurations and src folders only for plugins that have native files
@Fatme Fatme merged commit 54d8f44 into release Nov 19, 2015
@Fatme Fatme deleted the fatme/fix-long-path-on-windows branch November 19, 2015 09:51
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

Successfully merging this pull request may close these issues.

5 participants