mozilla / rust-android-gradle

Apache License 2.0
1.08k stars 70 forks source link

Use per-platform API level for selecting toolchain #56

Closed dcsommer closed 3 years ago

dcsommer commented 3 years ago

Now that apiLevels can be relied on to have the correct per-platform API level, this heuristic can be replaced with a direct lookup. I tested this by building the sample app:

./gradlew -p samples/app assembleRelease
./gradlew -p samples/app assembleDebug