mirror of
https://github.com/status-im/status-react.git
synced 2025-01-09 10:42:53 +00:00
761a7df06f
This commit does many things : - Upgrade `react-native ` to `0.72.5` - Upgrade `react-native-reanimated` to `3.5.4` - Upgrade `react-native-navigation` to `7.37.0` - `ndkVersion` has been bumped to `25.2.9519653` - `cmakeVersion` has been bumped to `3.22.1` - `kotlinVersion` has been bumped to `1.7.22` - `AGP` has been bumped to `7.4.2` - `Gradle` has been upgraded to `8.0.1` - Android `CompileSDK` and `TargetSDK` have been bumped to 33 - `@react-native-async-storage/async-storage` has been upgraded to `1.19.3` - `@walletconnect/client` has been nuked - some of the old `react-native-reanimated` code has been nuked - `react-native-keychain` fork has been replaced with `8.1.2` - On Android we are currently relying on `Hermes` Engine. - On iOS we are currently relying on `JSC` - We are not enabling new architecture for now (I have plans for that in the future) ref: https://github.com/status-im/status-mobile/issues/18138 IOS only PR : https://github.com/status-im/status-mobile/pull/16721 Android only PR : https://github.com/status-im/status-mobile/pull/17062 - `make run-metro` now has a target of `android` which was `clojure` earlier, this will increase the time it takes to start metro terminal but this is needed otherwise you will get a nasty error while developing for android locally.
56 lines
1.7 KiB
Awk
56 lines
1.7 KiB
Awk
# This script parses the AWFUL Gradle output of :dependencies calls
|
|
# and outputs just the names of the packages in the Maven format:
|
|
# <groupId>:<artifactId>:<version>
|
|
|
|
function findPackage(line, regex) {
|
|
rval = match(line, regex, matches)
|
|
if (rval != 0) {
|
|
dep = sprintf("%s:%s:%s", matches[1], matches[2], matches[3])
|
|
if (deps[dep] == nil) {
|
|
deps[dep] = 1
|
|
}
|
|
return 1
|
|
}
|
|
return 0
|
|
}
|
|
|
|
# Gradle outputs dependencies in groups defined by configurations.
|
|
# Those configurations are words followed by a dash and a description.
|
|
# There's also a special 'classpath' configuration we want.
|
|
/^(classpath|[a-zA-Z0-9]+)( - .*)?$/ {
|
|
# Ignore configurations starting with 'test'
|
|
if (tolower($1) ~ /^test/) {
|
|
next
|
|
}
|
|
|
|
# Lines after configuration name list packages
|
|
for (getline line; line != ""; getline line) {
|
|
|
|
# JavaScript Core (JSC) is provided by node_modules
|
|
if (line ~ "org.webkit:android-jsc") { continue }
|
|
|
|
# Example: +--- org.jetbrains.kotlin:kotlin-stdlib:1.3.50
|
|
if (findPackage(line, "--- ([^ :]+):([^ :]+):([^ :]+)$")) {
|
|
continue
|
|
}
|
|
|
|
# Example: +--- androidx.lifecycle:lifecycle-common:{strictly 2.0.0} -> 2.0.0 (c)
|
|
if (findPackage(line, "--- ([^ :]+):([^ :]+):[^:]+ -> ([^ :]+) ?(\\([*c]\\))?$")) {
|
|
continue
|
|
}
|
|
|
|
# Example: +--- com.android.support:appcompat-v7:28.0.0 -> androidx.appcompat:appcompat:1.0.2
|
|
if (findPackage(line, "--- [^ :]+:[^ :]+:[^ ]+ -> ([^ :]+):([^ :]+):([^ :]+)$")) {
|
|
continue
|
|
}
|
|
}
|
|
}
|
|
|
|
END{
|
|
# It's nicer to sort it
|
|
asorti(deps, sorted)
|
|
for (i in sorted) {
|
|
print sorted[i]
|
|
}
|
|
}
|