mirror of
https://github.com/element-hq/element-android
synced 2024-11-23 09:55:40 +03:00
commit
ac94bff81e
10 changed files with 29 additions and 25 deletions
8
.github/workflows/build.yml
vendored
8
.github/workflows/build.yml
vendored
|
@ -28,11 +28,11 @@ jobs:
|
||||||
with:
|
with:
|
||||||
# https://github.com/actions/checkout/issues/881
|
# https://github.com/actions/checkout/issues/881
|
||||||
ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
|
ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
|
||||||
- name: Use JDK 17
|
- name: Use JDK 21
|
||||||
uses: actions/setup-java@v4
|
uses: actions/setup-java@v4
|
||||||
with:
|
with:
|
||||||
distribution: 'temurin' # See 'Supported distributions' for available options
|
distribution: 'temurin' # See 'Supported distributions' for available options
|
||||||
java-version: '17'
|
java-version: '21'
|
||||||
- name: Configure gradle
|
- name: Configure gradle
|
||||||
uses: gradle/actions/setup-gradle@v3
|
uses: gradle/actions/setup-gradle@v3
|
||||||
with:
|
with:
|
||||||
|
@ -57,11 +57,11 @@ jobs:
|
||||||
with:
|
with:
|
||||||
# https://github.com/actions/checkout/issues/881
|
# https://github.com/actions/checkout/issues/881
|
||||||
ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.ref }}
|
ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.ref }}
|
||||||
- name: Use JDK 17
|
- name: Use JDK 21
|
||||||
uses: actions/setup-java@v4
|
uses: actions/setup-java@v4
|
||||||
with:
|
with:
|
||||||
distribution: 'temurin' # See 'Supported distributions' for available options
|
distribution: 'temurin' # See 'Supported distributions' for available options
|
||||||
java-version: '17'
|
java-version: '21'
|
||||||
- name: Configure gradle
|
- name: Configure gradle
|
||||||
uses: gradle/actions/setup-gradle@v3
|
uses: gradle/actions/setup-gradle@v3
|
||||||
with:
|
with:
|
||||||
|
|
4
.github/workflows/nightly.yml
vendored
4
.github/workflows/nightly.yml
vendored
|
@ -20,11 +20,11 @@ jobs:
|
||||||
uses: actions/setup-python@v4
|
uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
python-version: 3.8
|
python-version: 3.8
|
||||||
- name: Use JDK 17
|
- name: Use JDK 21
|
||||||
uses: actions/setup-java@v4
|
uses: actions/setup-java@v4
|
||||||
with:
|
with:
|
||||||
distribution: 'temurin' # See 'Supported distributions' for available options
|
distribution: 'temurin' # See 'Supported distributions' for available options
|
||||||
java-version: '17'
|
java-version: '21'
|
||||||
- name: Configure gradle
|
- name: Configure gradle
|
||||||
uses: gradle/actions/setup-gradle@v3
|
uses: gradle/actions/setup-gradle@v3
|
||||||
with:
|
with:
|
||||||
|
|
4
.github/workflows/post-pr.yml
vendored
4
.github/workflows/post-pr.yml
vendored
|
@ -44,11 +44,11 @@ jobs:
|
||||||
uses: actions/setup-python@v4
|
uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
python-version: 3.8
|
python-version: 3.8
|
||||||
- name: Use JDK 17
|
- name: Use JDK 21
|
||||||
uses: actions/setup-java@v4
|
uses: actions/setup-java@v4
|
||||||
with:
|
with:
|
||||||
distribution: 'temurin' # See 'Supported distributions' for available options
|
distribution: 'temurin' # See 'Supported distributions' for available options
|
||||||
java-version: '17'
|
java-version: '21'
|
||||||
- name: Configure gradle
|
- name: Configure gradle
|
||||||
uses: gradle/actions/setup-gradle@v3
|
uses: gradle/actions/setup-gradle@v3
|
||||||
with:
|
with:
|
||||||
|
|
12
.github/workflows/quality.yml
vendored
12
.github/workflows/quality.yml
vendored
|
@ -25,11 +25,11 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Use JDK 17
|
- name: Use JDK 21
|
||||||
uses: actions/setup-java@v4
|
uses: actions/setup-java@v4
|
||||||
with:
|
with:
|
||||||
distribution: 'temurin' # See 'Supported distributions' for available options
|
distribution: 'temurin' # See 'Supported distributions' for available options
|
||||||
java-version: '17'
|
java-version: '21'
|
||||||
- name: Configure gradle
|
- name: Configure gradle
|
||||||
uses: gradle/actions/setup-gradle@v3
|
uses: gradle/actions/setup-gradle@v3
|
||||||
with:
|
with:
|
||||||
|
@ -48,11 +48,11 @@ jobs:
|
||||||
cancel-in-progress: true
|
cancel-in-progress: true
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Use JDK 17
|
- name: Use JDK 21
|
||||||
uses: actions/setup-java@v4
|
uses: actions/setup-java@v4
|
||||||
with:
|
with:
|
||||||
distribution: 'temurin' # See 'Supported distributions' for available options
|
distribution: 'temurin' # See 'Supported distributions' for available options
|
||||||
java-version: '17'
|
java-version: '21'
|
||||||
- name: Configure gradle
|
- name: Configure gradle
|
||||||
uses: gradle/actions/setup-gradle@v3
|
uses: gradle/actions/setup-gradle@v3
|
||||||
with:
|
with:
|
||||||
|
@ -102,11 +102,11 @@ jobs:
|
||||||
cancel-in-progress: true
|
cancel-in-progress: true
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Use JDK 17
|
- name: Use JDK 21
|
||||||
uses: actions/setup-java@v4
|
uses: actions/setup-java@v4
|
||||||
with:
|
with:
|
||||||
distribution: 'temurin' # See 'Supported distributions' for available options
|
distribution: 'temurin' # See 'Supported distributions' for available options
|
||||||
java-version: '17'
|
java-version: '21'
|
||||||
- name: Configure gradle
|
- name: Configure gradle
|
||||||
uses: gradle/actions/setup-gradle@v3
|
uses: gradle/actions/setup-gradle@v3
|
||||||
with:
|
with:
|
||||||
|
|
8
.github/workflows/tests.yml
vendored
8
.github/workflows/tests.yml
vendored
|
@ -29,11 +29,11 @@ jobs:
|
||||||
with:
|
with:
|
||||||
lfs: true
|
lfs: true
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
- name: Use JDK 17
|
- name: Use JDK 21
|
||||||
uses: actions/setup-java@v4
|
uses: actions/setup-java@v4
|
||||||
with:
|
with:
|
||||||
distribution: 'temurin' # See 'Supported distributions' for available options
|
distribution: 'temurin' # See 'Supported distributions' for available options
|
||||||
java-version: '17'
|
java-version: '21'
|
||||||
- name: Configure gradle
|
- name: Configure gradle
|
||||||
uses: gradle/actions/setup-gradle@v3
|
uses: gradle/actions/setup-gradle@v3
|
||||||
with:
|
with:
|
||||||
|
@ -139,11 +139,11 @@ jobs:
|
||||||
# cancel-in-progress: true
|
# cancel-in-progress: true
|
||||||
# steps:
|
# steps:
|
||||||
# - uses: actions/checkout@v4
|
# - uses: actions/checkout@v4
|
||||||
# - name: Use JDK 17
|
# - name: Use JDK 21
|
||||||
# uses: actions/setup-java@v4
|
# uses: actions/setup-java@v4
|
||||||
# with:
|
# with:
|
||||||
# distribution: 'temurin' # See 'Supported distributions' for available options
|
# distribution: 'temurin' # See 'Supported distributions' for available options
|
||||||
# java-version: '17'
|
# java-version: '21'
|
||||||
# - name: Configure gradle
|
# - name: Configure gradle
|
||||||
# uses: gradle/actions/setup-gradle@v3
|
# uses: gradle/actions/setup-gradle@v3
|
||||||
# with:
|
# with:
|
||||||
|
|
|
@ -43,7 +43,7 @@ plugins {
|
||||||
// ktlint Plugin
|
// ktlint Plugin
|
||||||
id "org.jlleitschuh.gradle.ktlint" version "11.3.2"
|
id "org.jlleitschuh.gradle.ktlint" version "11.3.2"
|
||||||
// Detekt
|
// Detekt
|
||||||
id "io.gitlab.arturbosch.detekt" version "1.22.0"
|
id "io.gitlab.arturbosch.detekt" version "1.23.7"
|
||||||
// Ksp
|
// Ksp
|
||||||
id "com.google.devtools.ksp" version "1.9.24-1.0.20"
|
id "com.google.devtools.ksp" version "1.9.24-1.0.20"
|
||||||
|
|
||||||
|
|
|
@ -2,9 +2,9 @@ ext.versions = [
|
||||||
'minSdk' : 21,
|
'minSdk' : 21,
|
||||||
'compileSdk' : 34,
|
'compileSdk' : 34,
|
||||||
'targetSdk' : 34,
|
'targetSdk' : 34,
|
||||||
'sourceCompat' : JavaVersion.VERSION_17,
|
'sourceCompat' : JavaVersion.VERSION_21,
|
||||||
'targetCompat' : JavaVersion.VERSION_17,
|
'targetCompat' : JavaVersion.VERSION_21,
|
||||||
'jvmTarget' : "17",
|
'jvmTarget' : "21",
|
||||||
]
|
]
|
||||||
|
|
||||||
def gradle = "8.4.2"
|
def gradle = "8.4.2"
|
||||||
|
|
|
@ -203,6 +203,7 @@ ext.groups = [
|
||||||
'org.jacoco',
|
'org.jacoco',
|
||||||
'org.java-websocket',
|
'org.java-websocket',
|
||||||
'org.jcodec',
|
'org.jcodec',
|
||||||
|
'org.jcommander',
|
||||||
'org.jetbrains',
|
'org.jetbrains',
|
||||||
'org.jetbrains.dokka',
|
'org.jetbrains.dokka',
|
||||||
'org.jetbrains.intellij.deps',
|
'org.jetbrains.intellij.deps',
|
||||||
|
@ -229,6 +230,7 @@ ext.groups = [
|
||||||
'org.reactivestreams',
|
'org.reactivestreams',
|
||||||
'org.robolectric',
|
'org.robolectric',
|
||||||
'org.slf4j',
|
'org.slf4j',
|
||||||
|
'org.snakeyaml',
|
||||||
'org.sonatype.oss',
|
'org.sonatype.oss',
|
||||||
'org.testng',
|
'org.testng',
|
||||||
'org.threeten',
|
'org.threeten',
|
||||||
|
|
2
library/external/textdrawable/build.gradle
vendored
2
library/external/textdrawable/build.gradle
vendored
|
@ -1,7 +1,5 @@
|
||||||
apply plugin: 'com.android.library'
|
apply plugin: 'com.android.library'
|
||||||
|
|
||||||
apply plugin: 'com.android.library'
|
|
||||||
|
|
||||||
android {
|
android {
|
||||||
namespace "com.amulyakhare.textdrawable"
|
namespace "com.amulyakhare.textdrawable"
|
||||||
|
|
||||||
|
|
|
@ -25,6 +25,8 @@ style:
|
||||||
active: false
|
active: false
|
||||||
UseCheckOrError:
|
UseCheckOrError:
|
||||||
active: false
|
active: false
|
||||||
|
UnusedPrivateProperty:
|
||||||
|
active: false
|
||||||
|
|
||||||
empty-blocks:
|
empty-blocks:
|
||||||
EmptyFunctionBlock:
|
EmptyFunctionBlock:
|
||||||
|
@ -75,6 +77,8 @@ naming:
|
||||||
performance:
|
performance:
|
||||||
SpreadOperator:
|
SpreadOperator:
|
||||||
active: false
|
active: false
|
||||||
|
ForEachOnRange:
|
||||||
|
active: false
|
||||||
|
|
||||||
# Note: all rules for `comments` are disabled by default, but I put them here to be aware of their existence
|
# Note: all rules for `comments` are disabled by default, but I put them here to be aware of their existence
|
||||||
comments:
|
comments:
|
||||||
|
@ -91,7 +95,7 @@ comments:
|
||||||
EndOfSentenceFormat:
|
EndOfSentenceFormat:
|
||||||
active: true
|
active: true
|
||||||
OutdatedDocumentation:
|
OutdatedDocumentation:
|
||||||
active: true
|
active: false
|
||||||
UndocumentedPublicClass:
|
UndocumentedPublicClass:
|
||||||
active: false
|
active: false
|
||||||
UndocumentedPublicFunction:
|
UndocumentedPublicFunction:
|
||||||
|
|
Loading…
Reference in a new issue