Skip to content

Commit

Permalink
Small updates to gradle versions
Browse files Browse the repository at this point in the history
  • Loading branch information
schwabe committed Mar 16, 2022
1 parent 9fa4fa7 commit e891749
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ buildscript {
mavenCentral()
}
dependencies {
classpath("com.android.tools.build:gradle:7.1.1")
classpath("com.android.tools.build:gradle:7.1.2")
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version")
}
}
Expand Down
8 changes: 5 additions & 3 deletions main/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -120,9 +120,11 @@ android {
}

var swigcmd = "swig"
// Workaround for Mac OS X since it otherwise does not find swig and I cannot get
// the Exec task to respect the PATH environment :(
if (File("/usr/local/bin/swig").exists())
// Workaround for macOS(arm64) and macOS(intel) since it otherwise does not find swig and
// I cannot get the Exec task to respect the PATH environment :(
if (file("/opt/homebrew/bin/swig").exists())
swigcmd = "/opt/homebrew/bin/swig"
else if (file("/usr/local/bin/swig").exists())
swigcmd = "/usr/local/bin/swig"


Expand Down

0 comments on commit e891749

Please sign in to comment.