Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 2.10.0 #1263

Merged
merged 162 commits into from
Apr 26, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
162 commits
Select commit Hold shift + click to select a range
119101b
PAINTROID-271: MIUI 12 darkmode inverts colors
JulianJautz Apr 2, 2022
4491abe
Merge branch 'develop' of https://github.com/Catrobat/Paintroid into …
May 16, 2022
09e7f31
PAINTROID-412: Research if Paintroid follows Best Practices for the r…
FromG May 17, 2022
8abd3d6
Version name and version code update for v2.9.0
wslany May 22, 2022
f198600
Paintroid-239: added new PipetteToolIntegrationTests
FromG May 10, 2022
1820d93
PAINTROID-413 fixed Layout problem in colorpicker when called in Catr…
CodeChamp-SS May 31, 2022
268a175
PAINTROID-426 fixed crash in the Smudge Tool and removed the git stat…
CodeChamp-SS May 31, 2022
b3a4287
Merge pull request #1109 from CodeChamp-SS/PAINTROID-426
ThorstenBandel May 31, 2022
4f32aa7
PAINTROID-423 Fix paintroid filenames
May 23, 2022
49f264f
New Crowdin translations by Github Action
crowdin-bot Jun 2, 2022
f840b66
New Crowdin translations by Github Action
crowdin-bot Jun 2, 2022
537bd84
Merge pull request #1103 from ThorstenBandel/PAINTROID-423_Fix_paintr…
wslany Jun 2, 2022
cd14f24
PAINTROID-415
Electronix1337 May 9, 2022
9a0d8f7
Merge pull request #1087 from Electronix1337/PAINTROID-415_keep_zoom_…
wslany Jun 2, 2022
5b86b2f
PAINTROID-427: Very high frequency crash hotfix (#1111)
SebastianGrief Jun 2, 2022
17d8c9d
Merge pull request #1102 from Catrobat/l10n_crowdin_action
wslany Jun 2, 2022
52af881
Merge pull request #1105 from Catrobat/l10n_colorpicker_crowdin_action
wslany Jun 2, 2022
dae5e52
Version name and version code update for v2.9.1
wslany Jun 2, 2022
5a2c023
PAINTROID-291: color changes cannot be un/redone (#1044)
JulianJautz Jun 6, 2022
da6827a
Merge pull request #1089 from FromG/Paintroid-239_PipetteToolIntegration
ThorstenBandel Jun 7, 2022
be6c326
Merge pull request #1096 from FromG/PAINTROID-412
ThorstenBandel Jun 18, 2022
7506462
PAINTROID-410
Electronix1337 May 30, 2022
eb0e5a7
Merge pull request #1108 from Electronix1337/PAINTROID-410_Update_Pai…
ThorstenBandel Jun 20, 2022
4a3c79b
Merge pull request #1114 from CodeChamp-SS/PAINTROID-413
ThorstenBandel Jun 20, 2022
62966b4
Fixing and refactoring Tests
ThorstenBandel Feb 26, 2022
e340dd0
PAINTROID-388 import images via overflow menu
Tscheppe Jun 8, 2022
e5c9308
Merge pull request #1042 from ThorstenBandel/Fixing_And_Refactoring_T…
ThorstenBandel Jun 23, 2022
0c736f2
Fixing duplicating filenames on jenkins
ThorstenBandel Jun 24, 2022
48d35b2
Fixed Jenkinfiles to dockerhub pull
goschale Jun 24, 2022
6020095
Merge pull request #1122 from goschale/develop
ThorstenBandel Jun 24, 2022
8bab3c7
Merge pull request #1121 from ThorstenBandel/Fix_FilenameProblems
ThorstenBandel Jun 24, 2022
511c3da
PAINTROID-304
Electronix1337 Apr 11, 2022
09a5666
Merge pull request #1067 from Electronix1337/PAINTROID-304
ThorstenBandel Jun 27, 2022
a77c419
PAINTROID-428 Color does not update when swapping from smudge tool.
FromG Jun 28, 2022
d58f76f
PAINTROID-397 contrast of word alpha
Tscheppe Jun 29, 2022
d7fa5ed
PAINTROID-418
Electronix1337 Jun 7, 2022
378a2e8
Merge pull request #1115 from Electronix1337/PAINTROID-418_Fullscreen…
wslany Jul 1, 2022
368c2b4
Merge pull request #1116 from StanglTobias/PAINTROID-388_import_image…
wslany Jul 1, 2022
5496191
PAINTROID-209
Electronix1337 May 13, 2022
c87fb29
Merge pull request #1094 from Electronix1337/PAINTROID-209
ThorstenBandel Jul 11, 2022
7642c30
PAINTROID-432
Electronix1337 Jun 20, 2022
a127d16
Merge pull request #1127 from StanglTobias/PAINTROID-397
Electronix1337 Jul 12, 2022
efc276d
PAINTROID-416 Layout gets broken when changing tools
FromG Jun 30, 2022
1735abc
Merge pull request #1126 from FromG/PAINTROID-428
ThorstenBandel Jul 12, 2022
1724192
Zoom window(empty) appears when the drawing board is touched
saat-sy Jul 13, 2022
09cfbb4
Merge pull request #1128 from FromG/PAINTROID-416
CodeChamp-SS Jul 13, 2022
162bbe3
Paintroid 356: Changing orientation resets image when image shared to…
SebastianGrief Jul 14, 2022
3534eec
Paintroid 433: Zoom window appears when the canvas is touched
saat-sy Jul 13, 2022
5253635
Paintroid 433: Zoom window appears when clicked on the canvas
saat-sy Jul 15, 2022
cece07c
Merge remote-tracking branch 'origin/PAINTROID-433_Zoom_Window' into …
saat-sy Jul 15, 2022
37b0481
Painroid 433: Missing import fixed
saat-sy Jul 15, 2022
cfa17e6
Merge pull request #1065 from JulianJautz/PAINTROID-271_prevent_color…
FromG Jul 18, 2022
cf3859b
Merge pull request #1125 from Electronix1337/PAINTROID-432
wslany Jul 18, 2022
9f5c85e
PAINTROID-406 Set exact slider value
FromG Jun 27, 2022
33af330
PAINTROID-323: Fixed adding suffix when overwritting files.
AneiMakovec Jul 25, 2022
830ed2d
PAINTROID-445
Electronix1337 Jul 12, 2022
cbbf499
Merge pull request #1130 from Electronix1337/PAINTROID-445_Give_feedb…
CodeChamp-SS Jul 27, 2022
f47f7d3
Merge pull request #1038 from AneiMakovec/PAINTROID-323
ThorstenBandel Jul 31, 2022
99dda77
PAINTROID-389 color picker dialog color history
Tscheppe Jun 8, 2022
c9f74e3
PAINTROID-420
Electronix1337 May 31, 2022
616146b
PAINTROID-221 migrate away from JCenter (#1104)
Tscheppe Aug 20, 2022
b850e25
Merge pull request #1124 from FromG/PAINTROID-406
ThorstenBandel Aug 20, 2022
043e25e
PAINTROID-342 TASK: Write system integration tests and create test suite
illo1311 Nov 25, 2021
432a5a6
PAINTROID-398 No error message shown when Catrobat stickers are not a…
illo1311 May 27, 2022
69f0f3c
Merge pull request #1118 from StanglTobias/PAINTROID-389_remember_las…
wslany Aug 23, 2022
3253d71
Merge pull request #1136 from Electronix1337/PAINTROID-420_Support_10…
wslany Aug 24, 2022
7824d89
[fix]: refactored & deleted file
akebu6 Jun 13, 2022
b59917e
[code fix]: refactored test files
akebu6 Sep 9, 2022
df6c0d0
[code]: refactored tests
akebu6 Aug 7, 2022
f6f4869
[chore]: refactored code
akebu6 Jul 17, 2022
96f1545
Merge pull request #1147 from akebu6/PAINTROID-446
ThorstenBandel Sep 19, 2022
79dfe5f
Merge pull request #1138 from akebu6/PAINTROID-447
ThorstenBandel Sep 20, 2022
da39d80
Merge pull request #1135 from akebu6/PAINTROID-463
ThorstenBandel Sep 20, 2022
e1f7d11
Paintroid 433: Zoom window with content inside
saat-sy Sep 26, 2022
5cb336d
Merge remote-tracking branch 'origin/develop' into develop
saat-sy Sep 26, 2022
6e7040f
Paintroid 433: Zoom window performance update
saat-sy Sep 28, 2022
7302fa5
Merge branch 'PAINTROID-433_Zoom_Window' into develop
saat-sy Sep 28, 2022
a53f393
Paintroid 433: Cursor tool integration
saat-sy Oct 1, 2022
5b7f550
Merge branch 'PAINTROID-433_Zoom_Window' into develop
saat-sy Oct 1, 2022
64130a7
PAINTROID-283 layer opacity
Tscheppe Oct 3, 2022
23206d6
Paintroid 434: Zoom window settings dialog
saat-sy Oct 4, 2022
c4f0767
Revert "Paintroid 434: Zoom window settings dialog"
saat-sy Oct 23, 2022
a448121
Paintroid 433: Static warnings removed
saat-sy Oct 24, 2022
e04f4f4
Paintroid 433: Failed test solved and AndroidLint fixed
saat-sy Oct 25, 2022
935fb11
Paintroid 433: Fixed detekt warning
saat-sy Oct 25, 2022
b60b4c2
Paintroid 433: BaseToolWithRectangleShapeToolTest fixed
saat-sy Oct 25, 2022
359d50c
PAINTROID-283 updated PR
ThorstenBandel Oct 8, 2022
f830dfa
Merge pull request #1156 from ThorstenBandel/PAINTROID-283_add_layer_…
ThorstenBandel Nov 13, 2022
f61f587
Merge pull request #1117 from akebu6/PAINTROID-431_refactoring-log-te…
ThorstenBandel Nov 17, 2022
08dc035
PAINTROID-484 Update AndroidTargetSdkVersion to 31
foenabua Nov 27, 2022
48fc922
Paintroid 433: LandscapeIntegration
saat-sy Dec 5, 2022
69ea46b
Merge remote-tracking branch 'origin/develop' into develop
saat-sy Dec 6, 2022
24f3f5b
Merge branch 'develop' into PAINTROID-433_Zoom_Window
saat-sy Dec 6, 2022
f696c1f
Paintroid 433: Zoom window position, comments removed, tool compatibi…
saat-sy Dec 11, 2022
ce67fed
Paintroid 433: Static warnings removed
saat-sy Dec 12, 2022
03e4d23
PAINTROID-498 Line Color Changing
Lenkomotive Dec 13, 2022
15035df
Fixed Keyboad does not hide after leaving RGB-View
Smarshal21 Dec 14, 2022
be81a70
PAINTROID-495 Improve Help Dialog
Lenkomotive Dec 15, 2022
1687bf5
PAINTROID-497 Tool stroke-tip type
Lenkomotive Dec 19, 2022
32fa099
PAINTROID-519 Changing stroke-tip type triggers undo action
Lenkomotive Dec 21, 2022
20ae2a7
PAINTROID-482 Watercolor paths loose their translucent mask after load
Lenkomotive Dec 25, 2022
ab70ba4
Merge pull request #1131 from saat-sy/PAINTROID-433_Zoom_Window
juliajulie95 Dec 28, 2022
356646e
PAINTROID-496 Spray can tool redesign
Lenkomotive Jan 1, 2023
5ac48e0
PAINTROID-494 Change toolbaricon of stamp tool
Lenkomotive Jan 3, 2023
31ea0dd
PAINTROID-525 toolspecific options are hidden after leaving fullscree…
Lenkomotive Jan 1, 2023
674e48e
Update string.xml
ThorstenBandel Jan 8, 2023
7d22e58
Merge pull request #1107 from illo1311/PAINTROID-398
juliajulie95 Jan 8, 2023
b8d4a08
PAINTROID-522 Change background of text tool buttons.
kaleopop Jan 8, 2023
5bd4e02
PAINTROID-527 Zoomwindow position is wrong when drawingsurface moved
Lenkomotive Jan 10, 2023
b8c5a3c
PAINTROID-399 Fix contrast of text color to background color
foenabua Jan 13, 2023
635a070
PAINTROID-502 Fix LayerIntegrationTests
foenabua Jan 20, 2023
429f0d4
Merge pull request #1184 from kaleopop/PAINTROID-522
juliajulie95 Jan 25, 2023
73096f2
Merge pull request #1178 from Lenkomotive/PAINTROID-525
juliajulie95 Jan 25, 2023
0ee04a0
PAINTROID-543: watercolor added to compatible_new
SebastianGrief Jan 29, 2023
8e7ace2
PAINTROID-543: what is this lint rule?
SebastianGrief Jan 29, 2023
a7b0185
Merge pull request #1169 from Smarshal21/Sam1
juliajulie95 Feb 5, 2023
3907522
Merge pull request #1164 from Lenkomotive/PAINTROID-494
juliajulie95 Feb 5, 2023
488603d
Merge pull request #1170 from Lenkomotive/PAINTROID-495
juliajulie95 Feb 7, 2023
bead777
Merge pull request #1173 from Lenkomotive/PAINTROID-497
juliajulie95 Feb 7, 2023
c82effe
Merge pull request #1166 from foenabua/PAINTROID-484
ThorstenBandel Feb 7, 2023
f96c03d
PAINTROID - 470: Refactor test cases from Java to Kotlin (#1205)
bakicelebi Feb 11, 2023
1b8a9e0
PAINTROID-392 Layer redesign
Lenkomotive Dec 22, 2022
239fae9
Paintroid-471:Refactor test cases from Java to Kotlin (#1208)
juliajulie95 Feb 16, 2023
06af955
PAINTROID 476 - Refactor test cases from Java to Kotlin (#1202)
bakicelebi Feb 16, 2023
c3a8f59
Merge pull request #1186 from foenabua/PAINTROID-399
juliajulie95 Feb 17, 2023
06c877a
Merge pull request #1183 from foenabua/PAINTROID-502
ThorstenBandel Feb 18, 2023
4dee48b
PAINTROID-548 : Selecting the already selected stroke type unselects it
bakicelebi Feb 20, 2023
2af9a1a
PAINTROID-545 Zooming while cursor tool is down deletes the already d…
bakicelebi Feb 8, 2023
d72022c
Merge pull request #1176 from Lenkomotive/PAINTROID-482
SebastianGrief Feb 27, 2023
64ae1ef
Merge pull request #1179 from Lenkomotive/PAINTROID-496
SebastianGrief Feb 27, 2023
6bbf9c8
Merge pull request #1218 from bakicelebi/PAINTROID-548
SebastianGrief Feb 28, 2023
e667a12
Merge pull request #1206 from bakicelebi/PAINTROID-545
SebastianGrief Feb 28, 2023
c262c51
Merge pull request #1175 from Lenkomotive/PAINTROID-392
ThorstenBandel Mar 4, 2023
74334b9
Merge pull request #1185 from Lenkomotive/PAINTROID-527
juliajulie95 Mar 6, 2023
5fb20f6
PAINTROID-527 Zoomwindow position is wrong when drawingsurface moved
juliajulie95 Jan 3, 2023
d328de0
Merge pull request #1181 from Lenkomotive/PAINTROID-526
juliajulie95 Mar 7, 2023
42f9a37
Merge pull request #1174 from Lenkomotive/PAINTROID-519
juliajulie95 Mar 7, 2023
8bb6bb2
Merge pull request #1167 from Lenkomotive/PAINTROID-498
juliajulie95 Mar 8, 2023
4b4d45a
PAINTROID-557: Catrobat image version increased, needed for the chang…
SebastianGrief Mar 8, 2023
97f38ac
Merge pull request #1225 from SebastianGrief/PAINTROID-557_problems_w…
juliajulie95 Mar 14, 2023
8d1c8f9
PAINTROID-547 Layers allow drawing through Menu
khalid-nasralla Mar 1, 2023
7b0a859
PAINTROID-507 Fix ToolOnBackPressedIntegrationTests
khalid-nasralla Mar 2, 2023
06b77b4
PAINTROID-546 Crowdin github action is broken
bakicelebi Mar 20, 2023
966c125
Merge pull request #1231 from bakicelebi/PAINTROID-546
ThorstenBandel Mar 21, 2023
4d0be57
Merge pull request #1198 from SebastianGrief/paintroid-543_watercolor…
juliajulie95 Mar 23, 2023
0f16a2d
PAINTROID-546 Crowdin github action is broken (#1242)
bakicelebi Mar 25, 2023
8b66448
PAINTROID-434 An option to enable/disable and adjust Zoom (#1220)
Lenkomotive Mar 26, 2023
7bab334
PAINTROID-504 Fix CatrobatImageIOIntegrationTests (#1226)
khalid-nasralla Mar 26, 2023
db94169
PAINTROID-505 Fixed MenuFileActivityIntegrationTests (#1217)
Rd4dev Mar 26, 2023
96af496
PAINTROID-506 Fixed SaveCompressImageIntegrationTests (#1215)
Rd4dev Mar 26, 2023
286b28c
Merge pull request #1222 from khalid-nasralla/PAINTROID-547
juliajulie95 Mar 27, 2023
52dfdf8
New Crowdin translations by GitHub Action
crowdin-bot Mar 31, 2023
f3484ff
New Crowdin translations by GitHub Action
crowdin-bot Mar 31, 2023
8c896cb
Merge pull request #1113 from Catrobat/l10n_colorpicker_crowdin_action
ThorstenBandel Mar 31, 2023
6dc458b
Merge pull request #1112 from Catrobat/l10n_crowdin_action
ThorstenBandel Mar 31, 2023
63e6899
PAINTROID-419 "Vanishing" UI controls (#1180)
Lenkomotive Mar 31, 2023
6017a9c
Merge pull request #1223 from khalid-nasralla/PAINTROID-507
ThorstenBandel Mar 31, 2023
e1debd5
PAINTROID-523 - Image not persistent after closing app
Lenkomotive Mar 20, 2023
e6af45d
Merge pull request #1233 from Lenkomotive/PAINTROID-523
SebastianGrief Apr 24, 2023
0fd0a7c
New Crowdin translations by GitHub Action
crowdin-bot Apr 26, 2023
7004957
Merge pull request #1247 from Catrobat/l10n_crowdin_action
ThorstenBandel Apr 26, 2023
b4b072f
Version name and version code update for 2.10.0
ThorstenBandel Apr 26, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .github/workflows/sync_crowdin_Paintroid.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
steps:
- uses: actions/checkout@v2

- uses: crowdin/github-action@1.0.10
- uses: crowdin/github-action@v1.7.1
with:
upload_sources: true
upload_translations: false
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/sync_crowdin_colorpicker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
steps:
- uses: actions/checkout@v2

- uses: crowdin/github-action@1.0.10
- uses: crowdin/github-action@v1.7.1
with:
upload_sources: true
upload_translations: false
Expand Down
42 changes: 42 additions & 0 deletions .idea/codeStyles/Project.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

38 changes: 16 additions & 22 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,21 +31,11 @@ pipeline {
}

agent {
dockerfile {
filename 'Dockerfile.jenkins'
// 'docker build' would normally copy the whole build-dir to the container, changing the
// docker build directory avoids that overhead
dir 'docker'
// Pass the uid and the gid of the current user (jenkins-user) to the Dockerfile, so a
// corresponding user can be added. This is needed to provide the jenkins user inside
// the container for the ssh-agent to work.
// Another way would be to simply map the passwd file, but would spoil additional information
// Also hand in the group id of kvm to allow using /dev/kvm.
additionalBuildArgs '--build-arg USER_ID=$(id -u) --build-arg GROUP_ID=$(id -g) --build-arg KVM_GROUP_ID=$(getent group kvm | cut -d: -f3)'
// Ensure that each executor has its own gradle cache to not affect other builds
// that run concurrently.
args '--device /dev/kvm:/dev/kvm -m=6.5G'
label useDebugLabelParameter('LimitedEmulator')
docker {
image 'catrobat/catrobat-paintroid:stable'
args '--device /dev/kvm:/dev/kvm -v /var/local/container_shared/gradle_cache/$EXECUTOR_NUMBER:/home/user/.gradle -m=6.5G'
label 'LimitedEmulator'
alwaysPull true
}
}

Expand Down Expand Up @@ -81,12 +71,13 @@ pipeline {
sh 'rm -rf Catroid; mkdir Catroid'
dir('Catroid') {
git branch: params.CATROID_BRANCH, url: 'https://github.com/Catrobat/Catroid.git'
sh 'rm -f catroid/src/main/libs/*.aar'
sh 'mv -f ../colorpicker/build/outputs/aar/colorpicker-debug.aar catroid/src/main/libs/colorpicker-LOCAL.aar'
sh 'mv -f ../Paintroid/build/outputs/aar/Paintroid-debug.aar catroid/src/main/libs/Paintroid-LOCAL.aar'

archiveArtifacts 'catroid/src/main/libs/colorpicker-LOCAL.aar'
archiveArtifacts 'catroid/src/main/libs/Paintroid-LOCAL.aar'
sh "rm -f catroid/src/main/libs/*.aar"
sh "mv -f ../colorpicker/build/outputs/aar/colorpicker-debug.aar catroid/src/main/libs/colorpicker-LOCAL.aar"
sh "mv -f ../Paintroid/build/outputs/aar/Paintroid-debug.aar catroid/src/main/libs/Paintroid-LOCAL.aar"
}
renameApks("${env.BRANCH_NAME}-${env.BUILD_NUMBER}")
dir('Catroid') {
archiveArtifacts "catroid/src/main/libs/*.aar"
sh "./gradlew assembleCatroidDebug"
archiveArtifacts 'catroid/build/outputs/apk/catroid/debug/catroid-catroid-debug.apk'
}
Expand Down Expand Up @@ -124,10 +115,13 @@ pipeline {

stage('Device Tests') {
steps {
sh './gradlew -PenableCoverage -Pjenkins startEmulator adbDisableAnimationsGlobally createDebugCoverageReport -i'
sh "echo no | avdmanager create avd --force --name android28 --package 'system-images;android-28;default;x86_64'"
sh "/home/user/android/sdk/emulator/emulator -no-window -no-boot-anim -noaudio -avd android28 > /dev/null 2>&1 &"
sh './gradlew -PenableCoverage -Pjenkins -Pemulator=android28 -Pci createDebugCoverageReport -i'
}
post {
always {
sh '/home/user/android/sdk/platform-tools/adb logcat -d > logcat.txt'
sh './gradlew stopEmulator'
junitAndCoverage "$reports/coverage/debug/report.xml", 'device', javaSrc
archiveArtifacts 'logcat.txt'
Expand Down
19 changes: 5 additions & 14 deletions Jenkinsfile.releaseAPK
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,11 @@

pipeline {
agent {
dockerfile {
filename 'Dockerfile.jenkins'
// 'docker build' would normally copy the whole build-dir to the container, changing the
// docker build directory avoids that overhead
dir 'docker'
// Pass the uid and the gid of the current user (jenkins-user) to the Dockerfile, so a
// corresponding user can be added. This is needed to provide the jenkins user inside
// the container for the ssh-agent to work.
// Another way would be to simply map the passwd file, but would spoil additional information
// Also hand in the group id of kvm to allow using /dev/kvm.
additionalBuildArgs '--build-arg USER_ID=$(id -u) --build-arg GROUP_ID=$(id -g) --build-arg KVM_GROUP_ID=$(getent group kvm | cut -d: -f3)'
// Ensure that each executor has its own gradle cache to not affect other builds
// that run concurrently.
args '--device /dev/kvm:/dev/kvm'
docker {
image 'catrobat/catrobat-paintroid:stable'
args '--device /dev/kvm:/dev/kvm -v /var/local/container_shared/gradle_cache/$EXECUTOR_NUMBER:/home/user/.gradle -m=6.5G'
label 'LimitedEmulator'
alwaysPull true
}
}

Expand Down
46 changes: 18 additions & 28 deletions Paintroid/build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* Paintroid: An image manipulation application for Android.
* Copyright (C) 2010-2015 The Catrobat Team
* Copyright (C) 2010-2022 The Catrobat Team
* (<http://developer.catrobat.org/credits>)
*
* This program is free software: you can redistribute it and/or modify
Expand All @@ -17,7 +17,15 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

apply plugin: 'com.android.library'
apply plugin: 'com.hiya.jacoco-android'
apply plugin: 'com.getkeepsafe.dexcount'
apply plugin: 'kotlin-android'
apply plugin: 'org.catrobat.gradle.androidemulators'
apply plugin: 'maven-publish'

apply from: 'gradle/adb_tasks.gradle'
apply from: 'gradle/code_quality_tasks.gradle'

emulators {
install project.hasProperty('installSdk')
Expand All @@ -42,17 +50,8 @@ emulators {
}
}

apply plugin: 'com.android.library'
apply plugin: 'com.hiya.jacoco-android'
apply plugin: 'com.github.panpf.bintray-publish'
apply plugin: 'com.getkeepsafe.dexcount'
apply plugin: 'kotlin-android'

apply from: 'gradle/adb_tasks.gradle'
apply from: 'gradle/code_quality_tasks.gradle'

jacoco {
toolVersion = "0.8.5"
toolVersion = "0.8.7"
}

jacocoAndroidUnitTestReport {
Expand All @@ -74,8 +73,8 @@ android {
}

compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
sourceCompatibility JavaVersion.VERSION_11
targetCompatibility JavaVersion.VERSION_11
}

buildTypes {
Expand All @@ -98,7 +97,6 @@ android {
// specific ignores should be defined via lint.xml file
lintConfig file('config/lint.xml')
ignore 'ClickableViewAccessibility', 'StaticFieldLeak', 'GradleDependency', 'OldTargetApi', 'LintBaseline'
baseline file('config/lint-baseline.xml')
textReport true
xmlReport true
htmlReport true
Expand Down Expand Up @@ -129,6 +127,7 @@ dependencies {
implementation 'androidx.exifinterface:exifinterface:1.3.2'
implementation 'com.esotericsoftware:kryo:5.1.1'
implementation 'id.zelory:compressor:2.1.1'
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'

debugImplementation 'androidx.multidex:multidex:2.0.0'

Expand All @@ -137,36 +136,27 @@ dependencies {

testImplementation 'junit:junit:4.12'
testImplementation 'org.mockito:mockito-core:2.18.3'
testImplementation 'com.nhaarman.mockitokotlin2:mockito-kotlin:2.2.0'

androidTestImplementation 'org.jetbrains.kotlinx:kotlinx-coroutines-test:1.4.3'
androidTestImplementation 'androidx.test.ext:junit:1.1.1'
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
androidTestImplementation 'androidx.test:rules:1.1.1'
androidTestImplementation 'org.mockito:mockito-android:2.18.3'
androidTestImplementation 'tools.fastlane:screengrab:2.1.0'
androidTestImplementation 'com.nhaarman.mockitokotlin2:mockito-kotlin:2.2.0'

androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.0'
androidTestImplementation 'androidx.test.espresso:espresso-contrib:3.1.0'
androidTestImplementation 'androidx.test.espresso:espresso-intents:3.1.0'
androidTestImplementation "androidx.test.uiautomator:uiautomator:2.2.0"
testImplementation "androidx.test:core-ktx:1.4.0"
implementation 'com.android.support.test.espresso:espresso-idling-resource:3.1.0'
}

tasks.withType(Javadoc).all {
enabled = false
}

publish {
userOrg = 'catrobat'
repoName = 'Paintroid'
groupId = 'org.catrobat.paintroid'
artifactId = 'paintroid'
publishVersion = rootProject.ext.androidVersionName
licences = ['AGPL-V3']
desc = 'A graphical paint editor library for Android'
website = 'https://github.com/Catrobat/Paintroid'
issueTracker = 'https://jira.catrob.at/browse/PAINTROID'
repository = "${website}.git"
}

if (project.hasProperty('jenkins')) {
android.dexOptions.preDexLibraries = false
}
6 changes: 1 addition & 5 deletions Paintroid/config/checkstyle.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
* Paintroid: An image manipulation application for Android.
* Copyright (C) 2010-2015 The Catrobat Team
* Copyright (C) 2010-2022 The Catrobat Team
* (<http://developer.catrobat.org/credits>)
*
* This program is free software: you can redistribute it and/or modify
Expand Down Expand Up @@ -296,8 +296,4 @@
<property name="onCommentFormat" value="@formatter\:on" />
</module>

<module name="SuppressionFilter">
<property name="file" value="Paintroid/config/checkstyle_suppressions.xml" />
</module>

</module>
24 changes: 0 additions & 24 deletions Paintroid/config/checkstyle_suppressions.xml

This file was deleted.

10 changes: 5 additions & 5 deletions Paintroid/config/detekt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ complexity:
active: false
ignoredLabels: ""
LargeClass:
active: true
threshold: 650
active: false
threshold: 1000
LongMethod:
active: true
threshold: 80
Expand Down Expand Up @@ -203,7 +203,7 @@ formatting:
active: false
autoCorrect: true
Indentation:
active: true
active: false
autoCorrect: true
indentSize: 4
continuationIndentSize: 4
Expand Down Expand Up @@ -253,7 +253,7 @@ formatting:
active: true
autoCorrect: true
ParameterListWrapping:
active: true
active: false
autoCorrect: true
indentSize: 4
SpacingAroundColon:
Expand Down Expand Up @@ -509,7 +509,7 @@ style:
SafeCast:
active: true
SerialVersionUIDInSerializableClass:
active: true
active: false
SpacingBetweenPackageAndImports:
active: true
ThrowsCount:
Expand Down
22 changes: 0 additions & 22 deletions Paintroid/config/lint-baseline.xml

This file was deleted.

Loading