Skip to content

Conversation

@Murmele
Copy link

@Murmele Murmele commented Sep 25, 2025

So it is clear how to change properties of the packages

Reason/Description: So it is clear how to change properties of the packages
Files: README.md
Reason/Description: Otherwise gradle complains
Files: README.md, mod.rs, and settings.gradle
Reason: to make clear that Cargo.toml is required at the end
let _ = std::fs::remove_dir_all(&base_assets);

if !config.assets.is_empty() {
std::fs::OpenOptions::new().write(true).append(true).open(gradle.join("settings.gradle"))?.write(r#"include ':baseAssets'"#.as_bytes())?;
Copy link
Author

@Murmele Murmele Nov 12, 2025

Choose a reason for hiding this comment

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

@MarijnS95 I have to delete the baseAssets include from settings.grade and adding it if assets are present, otherwise I get a gradle error

Could not open cp_settings generic class cache for settings file '/target/x/release/android/gradle/settings.gradle' (~/.gradle/caches/8.1.1/scripts/d5f98u8ma4q13uozubkfsaw6z).

BUG! exception in phase 'semantic analysis' in source unit 'BuildScript' Unsupported class file major version 65

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.

1 participant