1
0
mirror of https://github.com/tooot-app/app synced 2025-01-10 16:43:03 +01:00
tooot/android/build.gradle
xmflsct 641e1f0cdc
Test updates (#456)
* Build succeeded

* Fix RN update caused Android build error

Spent whole fucking 2 days to figure this out https://github.com/facebook/react-native/issues/35210

* Fixed #408

Potentially because of too small pressable area

* Fixed #439

* Bump up RN and Expo

* Fixed #450

* Spelling (#449)

* spelling: announcement

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>

* spelling: corrupted

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>

* spelling: dimensions

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>

* spelling: favourites

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>

* spelling: mutation

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>

* spelling: retrieve

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>

* spelling: transitive

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>

* Fixed #451

More properly adjusted flexbox layout

* Partial fix of #444

It is possible to implement what the web does but that adds additional resources which I believe is not justified. Filtering is meant to be precise. Even hiding the entire block that you still would like to take a look at the content, then why would you set up a certain filter then.

Though showing the matched filter is still useful.

* New Crowdin updates (#440)

* New translations tabs.json (German)

* New translations tabs.json (Italian)

* New translations tabs.json (Japanese)

* New translations tabs.json (Korean)

* New translations tabs.json (Chinese Simplified)

* New translations tabs.json (Chinese Traditional)

* New translations tabs.json (Vietnamese)

* New translations tabs.json (Portuguese, Brazilian)

* New translations tabs.json (Chinese Simplified)

* New translations instance.json (German)

* New translations parse.json (German)

* New translations timeline.json (German)

* New translations mediaSelector.json (German)

* New translations emojis.json (German)

* New translations contextMenu.json (German)

* New translations actions.json (German)

* New translations compose.json (German)

* New translations accountSelection.json (German)

* New translations timeline.json (German)

* New translations contextMenu.json (German)

* New translations actions.json (German)

* New translations compose.json (German)

* New translations tabs.json (German)

* New translations screens.json (German)

* New translations common.json (French)

* New translations instance.json (French)

* New translations parse.json (French)

* New translations relationship.json (French)

* New translations timeline.json (French)

* New translations actions.json (French)

* New translations imageViewer.json (French)

* New translations announcements.json (French)

* New translations compose.json (French)

* New translations screens.json (French)

* New translations tabs.json (French)

* New translations mediaSelector.json (French)

* New translations emojis.json (French)

* New translations contextMenu.json (French)

* New translations accountSelection.json (French)

* New translations actions.json (French)

* New translations announcements.json (French)

* New translations compose.json (French)

* New translations accountSelection.json (French)

* New translations instance.json (French)

* New translations parse.json (French)

* New translations relationship.json (French)

* New translations timeline.json (French)

* New translations imageViewer.json (French)

* New translations compose.json (French)

* New translations tabs.json (French)

* New translations mediaSelector.json (French)

* New translations emojis.json (French)

* New translations contextMenu.json (French)

* New translations common.json (French)

* New translations compose.json (French)

* New translations screens.json (French)

* New translations tabs.json (French)

* New translations contextMenu.json (French)

* New translations common.json (French)

* New translations instance.json (French)

* Added French translation 🇫🇷

* Fixed #454

* Fixed #443

Basically matching all none whitespace characters

* Fixed #446

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Co-authored-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2022-11-12 17:59:32 +01:00

56 lines
1.9 KiB
Groovy

// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext {
buildToolsVersion = "31.0.0"
minSdkVersion = 21
compileSdkVersion = 31
targetSdkVersion = 31
kotlinVersion = '1.6.10'
if (System.properties['os.arch'] == "aarch64") {
// For M1 Users we need to use the NDK 24 which added support for aarch64
ndkVersion = "24.0.8215888"
} else if (Os.isFamily(Os.FAMILY_WINDOWS)) {
// For Android Users, we need to use NDK 23, otherwise the build will
// fail due to paths longer than the OS limit
ndkVersion = "23.1.7779620"
} else {
// Otherwise we default to the side-by-side NDK version from AGP.
ndkVersion = "21.4.7075529"
}
}
repositories {
google()
mavenCentral()
jcenter()
}
dependencies {
classpath 'com.google.gms:google-services:4.3.3'
classpath("com.android.tools.build:gradle:7.2.1")
classpath("com.facebook.react:react-native-gradle-plugin")
classpath("de.undercouch:gradle-download-task:5.0.1")
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
mavenLocal()
maven {
// All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
url(new File(["node", "--print", "require.resolve('react-native/package.json')"].execute().text.trim(), "../android"))
}
maven {
// Android JSC is installed from npm
url(new File(["node", "--print", "require.resolve('jsc-android/package.json')"].execute().text.trim(), "../dist"))
}
google()
mavenCentral()
jcenter()
maven { url 'https://www.jitpack.io' }
}
}