Files
ErikUggeldahl 90c91f60af Support 16kb devices by bumping to NDK r27
As suggested by the docs, this is the best way to support newer devices requiring 16kb page support.

https://developer.android.com/guide/practices/page-sizes#compile-r27

- [x] Looking to see that Goldens pass before merging.

Diffs=
f653f3f73f Support 16kb devices by bumping to NDK r27 (#8558)
572265df3b call syncStyleChanges on update (#8715)
e8d6e5db26 Override layoutcomponent x/y using layoutX/Y (#8714)
d3f6a49778 Nnnn data bind fixes part 3 (#8663)
baf832a6ce Instance data converters when attached to data binding objects (#8664)
0664f994df Snap verycomplexgrad gm stops to pixel boundaries (#8685)
39c62a94ef ScrollBar constraint autosize toggle (#8707)
7c3c8a3a1a Don't use GL_PIXEL_UNPACK_BUFFER (#8708)
5df5be1940 Add "no_rive_jpeg" and "no_rive_png" build options (#8702)
d7794cb556 Improve scroll time precision on web (#8705)
d0c9e98d2e Scroll fixes (#8698)
ca10c9ec63 re add clean to diff (#8697)
f00a5a6c78 do not break when component is found (#8695)
437688c18e Add yoga renames to non-v2 lua build scripts (#8693)
423301a95b Fix integer precision issues with pathID in vertex shaders (#8689)
b1c0e80625 use draw proxy for scroll bar draggables (#8692)
302606642c GL fixes for Imagination PowerVR GPUs (#8684)
e5879a1a5c Fix scrollbar thumb offset (#8691)
7414d20597 Sort by % diff pixels in diff.py when histogram is equal (#8683)
00e9ad43a7 fix sorting hittable components (#8690)
fa8f7c6755 fix crash when dividing by 0 (#8687)
cd310b1b68 Nnnn scrolling override poc part 2 (#8679)
ac7c458bc7 Small Scroll fixes (#8682)
0ff13be381 Make scroll physics core objects (#8672)
9dfd01fb3a made compatable with python 9_9 (#8678)
454bc50aaf diff.py: don't count identicals as differences (#8666)
c642488df3 added some changes to make building easier for unreal (#8667)
1647a7ad92 use actual sizes for calculating position offset (#8671)
599ab0eeb7 Reapply "Merge branch 'master' of https://github.com/rive-app/rive"
406a2ef952 Revert "Merge branch 'master' of https://github.com/rive-app/rive"
3c0cc1f329 skip object on animation reset if it is null (#8670)
1d2c9175d4 remove letter spacing subtraction (#8669)
96ec927371 fix fatal warnings compiler flag to use latest version (#8668)

Co-authored-by: Erik <erik@rive.app>
2024-12-10 03:09:42 +00:00

65 lines
1.8 KiB
Groovy

def localProperties = new Properties()
def localPropertiesFile = rootProject.file('local.properties')
if (localPropertiesFile.exists()) {
localPropertiesFile.withReader('UTF-8') { reader ->
localProperties.load(reader)
}
}
def flutterRoot = localProperties.getProperty('flutter.sdk')
if (flutterRoot == null) {
throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.")
}
def flutterVersionCode = localProperties.getProperty('flutter.versionCode')
if (flutterVersionCode == null) {
flutterVersionCode = '1'
}
def flutterVersionName = localProperties.getProperty('flutter.versionName')
if (flutterVersionName == null) {
flutterVersionName = '1.0'
}
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
android {
compileSdkVersion 34
ndkVersion "27.2.12479018"
sourceSets {
main.java.srcDirs += 'src/main/kotlin'
}
lintOptions {
disable 'InvalidPackage'
}
defaultConfig {
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId "com.example.rive_example"
minSdkVersion flutter.minSdkVersion
targetSdkVersion 31
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
}
buildTypes {
release {
// TODO: Add your own signing config for the release build.
// Signing with the debug keys for now, so `flutter run --release` works.
signingConfig signingConfigs.debug
}
}
}
flutter {
source '../..'
}
dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
}