Repository navigation
Expand file tree
/
Copy pathgradle.properties
More file actions
81 lines (70 loc) · 4.03 KB
/
Copy pathgradle.properties
File metadata and controls
81 lines (70 loc) · 4.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
#
# Copyright (c) 2026 Element Creations Ltd.
#
# SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial.
# Please see LICENSE files in the repository root for full details.
# Project-wide Gradle settings.
# IDE (e.g. Android Studio) users:
# Gradle settings configured through the IDE *will override*
# any settings specified in this file.
# For more details on how to configure your build environment visit
# http://www.gradle.org/docs/current/userguide/build_environment.html
org.gradle.jvmargs=-Xmx4g -Dfile.encoding=UTF-8 -XX:+UseG1GC
# The published coordinates: io.element.android:element-call-<module>:VERSION_NAME.
# VERSION_NAME is the single source of the library version (semver 0.x). Nobody edits it by hand:
# scripts/release.sh stamps it into the commit the release tags, so between releases it reads as the last
# release, and 0.0.0 until there is one (RELEASING.md). Override on the command line for a local publication:
# ./gradlew publishToMavenLocal -PVERSION_NAME=0.0.0-local
GROUP=io.element.android
VERSION_NAME=0.1.0-rc.8
# The matrix-rust-rtc core. Its Maven coordinate is io.element.android:matrix-rtc-android (published by
# element-hq/matrix-rust-rtc to GitHub Packages, which needs a token even to read, and not yet to Maven
# Central), so this build resolves it as a file: the release asset below, fetched into rtc/local by
# ./tools/rtc/fetch-rust-rtc and checked against the sha256 (docs/local_stack.md, layer 1). rtc/local also
# publishes that file under the coordinate to the LOCAL Maven repository, for tests/consumer and a host on
# layer 3; it is never published anywhere else from here (RELEASING.md). Bump the three lines together;
# CI validates the bump on the pull request. MATRIX_RTC_VERSION is the version the published POMs of
# call/impl and call/ui name, and must be the release the URL points at.
MATRIX_RTC_VERSION=0.5.0-rc.5
MATRIX_RTC_AAR_URL=https://github.com/element-hq/matrix-rust-rtc/releases/download/v0.5.0-rc.5/matrix-rtc-android-0.5.0-rc.5.aar
MATRIX_RTC_AAR_SHA256=d5b86ff66d0a400dcc7ecca17517f0174a667121011b2581459d325d01c428f8
# POM metadata shared by every published module (com.vanniktech.maven.publish reads these). Per-module
# POM_ARTIFACT_ID, POM_NAME and POM_DESCRIPTION live in each module's gradle.properties.
POM_INCEPTION_YEAR=2026
POM_URL=https://github.com/element-hq/element-call-android
POM_SCM_URL=https://github.com/element-hq/element-call-android
POM_SCM_CONNECTION=scm:git:git://github.com/element-hq/element-call-android.git
POM_SCM_DEV_CONNECTION=scm:git:ssh://git@github.com/element-hq/element-call-android.git
POM_LICENCE_NAME=GNU Affero General Public License v3.0 only
POM_LICENCE_URL=https://www.gnu.org/licenses/agpl-3.0.html
POM_LICENCE_DIST=repo
POM_DEVELOPER_ID=element
POM_DEVELOPER_NAME=Element
POM_DEVELOPER_URL=https://element.io
# Signing is only turned on by release.yml, with in-memory GPG credentials.
RELEASE_SIGNING_ENABLED=false
# AndroidX package structure to make it clearer which packages are bundled with the
# Android operating system, and which are packaged with your app's APK
# https://developer.android.com/topic/libraries/support-library/androidx-rn
android.useAndroidX=true
# Kotlin code style for this project: "official" or "obsolete":
kotlin.code.style=official
# Enables namespacing of each library's R class so that its R class includes only the
# resources declared in the library itself and none from the library's dependencies,
# thereby reducing the size of the R class for that library
android.nonTransitiveRClass=true
org.gradle.configureondemand=true
org.gradle.parallel=true
# Caching
org.gradle.caching=true
org.gradle.configuration-cache=true
org.gradle.configuration-cache.parallel=true
kotlin.incremental=true
# Create BuildConfig files as bytecode to avoid Java compilation phase
android.enableBuildConfigAsBytecode=true
# Used to prevent detekt from reusing invalid cached rules
detekt.use.worker.api=true
# Needed after enabling proguard on AGP 8.13.1
android.r8.gradual.support=true
# Enabled parallel sync for Gradle 9.4+
org.gradle.tooling.parallel=true