alexban011
841a1aa564
ci: improved detekt configuration and ci ( #9380 )
...
* ci: improved detekt configuration
it still needs some work but it's getting there
* detekt: separated errors from warnings
Detekt doesn't currently have a mechanism for failing only on specific issues
workaround suggested by the maintainer of Detekt
* rebased on master
* fix: resolve ExplicitItLambdaParameter
* fix: fix last star import
2023-05-14 21:55:36 +03:00
alexban011
f3e80a4021
Fixed a couple warnings reported by code analysis ( #9364 )
...
* fix: resolve EmptyCatchBlock warnings
* fix: resolve PrintStackTrace warnings
* fix: resolve SwallowedException warnings
* fix: resolve ThrowingExceptionsWithoutMessageOrCause warnings
* fix: resolve ConstructorParameterNaming warnings
* fix: resolve FunctionParameterNaming warnings
* fix: resolve InvalidPackageDeclaration warnings
* fix: resolve ForEachOnRange warnings
* fix: resolve ImplicitDefaultLocale warnings
* fix: resolve MayBeConst warnings
* fix: resolve NewLineAtEndOfFile warnings
* fix: resolve UnusedParameter warnings
* fix: resolve UtilityClassWithPublicConstructor warnings
* fix: resolve WildcardImport warnings
2023-05-10 11:43:53 +03:00
vegeta1k95
0aa7c0e79b
Added gradle task of Atlas texture packing for Android build ( #8208 )
...
* Added gradle task of Atlas texture packing for Android build
* ImagePackers check also for creation date
Co-authored-by: tunerzinc@gmail.com <vfylfhby>
2022-12-23 14:49:08 +02:00
Yair Morgenstern
87c1662462
Hopefully resolved #7663 by upgrading androidx.work version
2022-08-14 14:36:12 +03:00
Yair Morgenstern
0df499b9fe
Increment sdk version to 32, to see if it passes Github build
2022-08-08 14:02:49 +03:00
Yair Morgenstern
cf44f41372
Increment sdk version to 31, to see if it passes Github build
2022-08-08 00:02:15 +03:00
Yair Morgenstern
068d903ee5
Revert ktx version
2022-08-07 23:59:28 +03:00
Yair Morgenstern
b296d014b5
4.2.3
2022-08-07 23:51:02 +03:00
Yair Morgenstern
b14870fbc5
Reinstated desugaring since it broke the build
2022-08-05 16:11:02 +03:00
Yair Morgenstern
1dc7c6bfa8
Android gradle update - explicitly state build tools version, update to 32.0.0, remove desugaring.
2022-08-05 11:00:04 +03:00
Yair Morgenstern
948b95a9dc
Android gradle update - explicitly state build tools version, remove desugaring
2022-08-05 10:49:38 +03:00
Timo T
244f9477df
Initial Event Bus implementation & Event-based multiplayer updates ( #6826 )
...
* Add EventBus
* Refactor: Extract multiplayer logic into their own classes & make updates event-based instead of throwaway+rebuild
2022-05-22 00:05:33 +02:00
SomeTroglodyte
3d6a01d633
Build warnings cleanup ( #6827 )
2022-05-19 02:12:18 +02:00
Timo T
df9b62ff6f
Fix coroutines not being added to desktop:dist ( #6822 )
...
* Use kotlin coroutines instead of raw threads (+ refactorings)
Equal to f8e0f572
* Fix coroutine class files not being added to desktop:dist
2022-05-17 08:37:12 -07:00
Yair Morgenstern
7ef2bbc56c
Revert "Use kotlin coroutines instead of raw threads (+ refactorings) ( #6801 )"
...
This reverts commit f8e0f572
2022-05-15 19:20:23 +03:00
Timo T
f8e0f572e4
Use kotlin coroutines instead of raw threads (+ refactorings) ( #6801 )
...
* Refactor: Move classes into their own files
* Handle 404 FileNotFound in UncivServer
* Refactor: Rename method
* Make GameSaver.saveGame throw the exception by default if it is not handled
* Add possibility to work with FileHandles in GameSaver
* Make OnlineMultiplayerGameSaver load the multiplayerServer setting each time it does something
This theoretically makes it unnecessary for the OnlineMultiplayerGameSaver to be re-instantiated each time it is used
* Refactor: Remove duplicated code
* Refactor: Extract NextTurnButton from WorldScreen
* Refactor: Remove WorldScreen-specific code from OptionsPopup
* Use kotlin coroutines everywhere instead of plain threads
This probably also cuts down on our raw thread usage, improving performance, since we now use a cached thread pool (in addition to coroutines being able to reuse threads anyway)
* Improve deep load from notification
* Refactor: Give music download coroutine the proper name
2022-05-15 00:52:45 +03:00
Yair Morgenstern
16855f66f6
Gradle build tools upgrade ( #6085 )
...
* Gradle build tools upgrade
Apparently the magic is rewriting a specific line in the Android build file and downloading Android SDK 30.0.3
* Added wiki change, isn't that nice :)
2022-01-31 15:05:42 +02:00
will-ca
270c26c850
Raise minSdk
to 21. ( #5792 )
2021-12-13 20:12:53 +02:00
yairm210
72d16dbcd4
3.18.9-patch1
2021-12-11 19:48:34 +02:00
yairm210
3872a46519
Resolved #5691 - enabled code minify, if we see that this ruins stuff we can always turn it back off again with an appropriate comment
2021-12-09 20:47:33 +02:00
yairm210
2474c6a635
Re-upgraded Kotlin to 1.5.30, and together with it - minSdk and source&target compatibility to 1.8.
...
We've finally advanced to 2015 (when 1.7 was deprecated)
2021-09-05 19:36:35 +03:00
yairm210
194c69a633
Deprecation
2021-09-05 13:18:51 +03:00
yairm210
daaab81e28
Resolved #5044 - reverted target Android SDK to 30
2021-09-05 12:55:19 +03:00
yairm210
935b5f8793
gradle deprecation warnings fixed
2021-08-25 00:12:19 +03:00
yairm210
949f45497e
Gradle upgrade!
2021-08-22 22:00:34 +03:00
yairm210
510507bf9c
Bumped compile and target Android SDK to 31
2021-08-20 15:06:23 +03:00
yairm210
4e72cafc27
Removed manual kotlin-stdlib dependency
...
Kotlin 1.4+ auto-adds kotlin-stdlib dependency per https://kotlinlang.org/docs/whatsnew14.html#dependency-on-the-standard-library-added-by-default so we don't need it added manually.
Tested locally with ./gradlew desktop:dist and the jar worked.
2021-08-20 13:37:35 +03:00
yairm210
558c1fb662
Revert "Gradle wrapper upgrade"
...
Checking the Github actions shows that this doesn't seem to work with the current Github actions due to version confllicts, we'll need to resolve those
2021-08-15 00:13:54 +03:00
yairm210
2161790f13
Gradle wrapper upgrade
2021-08-13 00:54:46 +03:00
yairm210
3b1fa58806
Resolved #4842 - solved Android/libs folder not being created on bundle, only on local assembly
2021-08-12 20:42:49 +03:00
SomeTroglodyte
856fe1174a
For the F-Droid missing libgdx.so problem ( #4090 )
2021-06-09 21:37:27 +03:00
Yair Morgenstern
60fb38dfc3
New SDK versions, gradle properties, and androidx - this seems to solve the previous problems!
2021-05-08 23:24:57 +03:00
Yair Morgenstern
619d02d2b6
Hopefully will solve the github action fails
2021-05-08 22:54:11 +03:00
Yair Morgenstern
3a22a1127e
Gradle upgrade
2021-05-07 13:18:48 +03:00
Yair Morgenstern
50d5b0d7ce
Added specific icons to certain notification types
2021-03-19 11:26:54 +02:00
Yair Morgenstern
bb9404152f
#1492 - Added civilopedia info for great people and great improvements, removing terrain features, and strategic resource provision.
2020-06-03 18:11:56 +03:00
Yair Morgenstern
7566cbb24a
Got the aapt options to ignore the mods! We can now add mod when testing without worrying that they will make their way into the apk =D
2020-06-01 22:30:16 +03:00
Daniel Bälz
47d7e8ef09
Gradle Kotlin DSL ( #2634 )
...
* Ease migration to Gradle Kotlin DSL by changing quotes, function calls and plugin definitions
* Migrate build scripts to Gradle Kotlin DSL
2020-05-19 00:14:01 +03:00