Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion super_native_extensions/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ android {
namespace 'com.superlist.super_native_extensions'
}

compileSdkVersion 31
compileSdkVersion 36

compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
Expand Down
7 changes: 5 additions & 2 deletions super_native_extensions/cargokit/gradle/plugin.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ abstract class CargoKitBuildTask extends DefaultTask {
@Input
List<String> targetPlatforms

@Inject
protected abstract ExecOperations getExecOperations();

@TaskAction
def build() {
if (project.cargokit.manifestDir == null) {
Expand All @@ -57,12 +60,12 @@ abstract class CargoKitBuildTask extends DefaultTask {
def rootProjectDir = project.rootProject.projectDir

if (!Os.isFamily(Os.FAMILY_WINDOWS)) {
project.exec {
execOperations.exec {
commandLine 'chmod', '+x', path
}
}

project.exec {
execOperations.exec {
executable path
args "build-gradle"
environment "CARGOKIT_ROOT_PROJECT_DIR", rootProjectDir
Expand Down