1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-11-30 05:52:57 +01:00
Gadgetbridge/build.gradle
José Rebelo d34dcb6fc6 Downgrade com.android.tools.build:gradle to v8.7.0
Nightly build fails:

```
2024-10-03 23:18:19,270 INFO: APK file was successfully validated!
2024-10-03 23:18:19,321 CRITICAL: Unknown exception found!
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/dist-packages/androguard/core/bytecodes/apk.py", line 1556, in get_android_resources
    return self.arsc["resources.arsc"]
KeyError: 'resources.arsc'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/bin/fdroid", line 8, in <module>
    sys.exit(main())
  File "/usr/local/lib/python3.10/dist-packages/fdroidserver/__main__.py", line 230, in main
    raise e
...
  File "/usr/local/lib/python3.10/dist-packages/androguard/core/bytecodes/axml/__init__.py", line 2181, in __init__
    raise ResParserError("res1 must be zero!")
androguard.core.bytecodes.axml.ResParserError: res1 must be zero!
```

This reverts commit b8bf1200c1.
2024-10-04 20:05:49 +01:00

29 lines
687 B
Groovy

// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
mavenCentral()
google()
maven {
url 'https://plugins.gradle.org/m2/'
}
}
dependencies {
classpath 'com.android.tools.build:gradle:8.6.1'
classpath 'com.google.protobuf:protobuf-gradle-plugin:0.9.4'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
mavenCentral()
maven {
url 'https://jitpack.io'
}
google()
}
}