Commit Graph

9 Commits

Author SHA1 Message Date
agnostic-apollo 682ce08314 Create termux-shared library package for all termux constants and shared utils
The termux plugins should use this library instead of hardcoding "com.termux" values in their source code.

The library can be included as a dependency by plugins and third party apps by including the following line in the build.gradle where x.xxx is the version number, once its published.

`implementation 'com.termux:termux-shared:x.xxx'`

The `TermuxConstants` class has been updated to `v0.17.0`, `TermuxPreferenceConstants` to `v0.9.0` and `TermuxPropertyConstants` to `v0.6.0`. Check their Changelog sections for info on changes.

Some typos and redundant code has also been fixed.
2021-04-07 11:31:30 +05:00
agnostic-apollo 8e80e889f0 Set compileSdkVersion (NOT targetSdkVersion) to 29 so that Build.VERSION_CODES.Q checks can be made 2021-03-25 11:52:26 +05:00
Henrik Grimler 7fe5bd32c8 Update ndk to r22 2021-01-01 18:12:53 +01:00
cn 04268f4c20
move sdk version configs to gradle.properties (#1685) 2020-08-04 15:36:14 +03:00
Fredrik Fornwall 0e23315c41 Add android.useAndroidX=true to gradle.properties 2020-03-20 10:44:24 +01:00
Fredrik Fornwall d658e16801 Use the new cmake support to build JNI code 2016-09-21 22:30:20 +02:00
Fredrik Fornwall cf19d43bb7 Gradle build updates
- Switch to using gradle to build jni lib.
- Enable proguard minification.
- Add the Android support library.
2016-05-20 10:30:25 +02:00
Fredrik Fornwall afaa91b2ca Update gradle 2016-04-28 11:07:43 +02:00
Fredrik Fornwall a18ee58f7a Initial commit 2015-10-25 15:27:32 +01:00