Commit Graph

106 Commits (master)

Author SHA1 Message Date
Torsten Grote 21f8a23814
Upgrade all (most of) the things 4 days ago
Torsten Grote 9c50183b68
Upgrade to Android Studio Electric Eel to solve some test bugs 4 days ago
Torsten Grote eef3c3fb0d
Upgrade to Android Studio Chipmunk
and upgrade other dependencies as well
6 months ago
Torsten Grote d2d8b4ee9f
[index] Add dokka for creating HTML library docs 11 months ago
Torsten Grote c463b3c9ed Upgrade to Gradle 7 and Java 11 1 year ago
Torsten Grote 712844adf8
use new Sonatype server for mavenCentral publishing 1 year ago
Torsten Grote 8b3e0f83ae
Publish download library to maven central
and add a different license for it.
1 year ago
Torsten Grote d937732ce0
[download] Upgrade Ktor to 2.0 1 year ago
Torsten Grote decc2cc6e3
Add ktlint and run it in CI
Fixes formatting issues it found.

Also remove version variables from gradle scripts as they are not wanted by the project.
1 year ago
Torsten Grote a43d5d8ef1
Add glide support to download library 1 year ago
Torsten Grote d9f993632c
Add kotlin-gradle-plugin and upgrade gradle to 6.9.2
in order to resolve issue with dependency verification
1 year ago
Hans-Christoph Steiner 80a50dcfd4
vendor 'cc.mvdan.accesspoint:library:0.2.0' to remove jcenter entirely
Code was in https://github.com/mvdan/libaccesspoint

Note that this project is **abandoned** since its method doesn't work on Android
7.1 or later. Have a look at these newer alternatives that have been tested to
work on Android 8.0:

* https://github.com/shinilms/direct-net-share
* https://github.com/geekywoman/direct-net-share
* https://github.com/aegis1980/WifiHotSpot
1 year ago
Hans-Christoph Steiner 61441b3f2c
remove jcenter as source of libraries, except 1 lib
https://developer.android.com/studio/build/jcenter-migration
https://jfrog.com/blog/into-the-sunset-bintray-jcenter-gocenter-and-chartcenter/

refs #2223
2 years ago
Hans-Christoph Steiner d02ea22572
bump gradle plugin to latest bugfix version 3 years ago
Dominik Schürmann fa209c457f Use Android Gradle Plugin 3.6.0 3 years ago
Marcus Hoffmann 38374e1d32 update androidX libraries to latest versions
This needs another AGP and gradle update as
com.google.android.material:material:1.1.0 created compile errors
otherwise.
3 years ago
Marcus Hoffmann e2a75f69ee androidX migrations preparations
We need compileSdk 28 and the required AGP and gradle versions, as well
as updating to compatible support library revisions.

minSdk and targetSdk needs to move to build.gradle from manifest.
buildToolsVersion isn't used anymore.
3 years ago
Hans-Christoph Steiner cd23d5cd85
bump to latest bugfix version of gradle android plugin 3 years ago
Hans-Christoph Steiner 1cfae44aec
only download from jCenter as a last resort
"Artifact integrity verification aside, not only should jcenter() always be
last, but you need to put mavenCentral() before them. JCenter and Bintray
keep proving they're not a trustworthy artifact host. Ideally you fetch
nothing from them."
https://twitter.com/JakeWharton/status/1073102730443526144

https://blog.autsoft.hu/a-confusing-dependency/
3 years ago
Hans-Christoph Steiner 3878b781fd maven.google.com must be added before jcenter()
* https://stackoverflow.com/a/50570206
* https://stackoverflow.com/a/50563942
* https://developer.android.com/studio/build/dependencies#google-maven
5 years ago
Hans-Christoph Steiner e55b121489 simplify gradle repositories to fix Android plugin download error 5 years ago
Hans-Christoph Steiner 40fdccf262 purge gradle-witness until it is compatible with 'implementation'
https://github.com/signalapp/gradle-witness/issues/27
5 years ago
Hans-Christoph Steiner e00fe0dcda switch to latest official BottomNavigation release
#1379
5 years ago
Hans-Christoph Steiner 3a2c10f077 update to latest Gradle Android Plugin (3.1.1) and gradle (4.4.1)
#1379
5 years ago
Hans-Christoph Steiner 5f26a78527 auto-disable preDexLibraries on CI systems
preDexing helps repeat builds run faster, but slows down builds that do
not have any caching.  CI builds start from scratch each time.  Turns
out that GitLab CI, Travis CI, Circle CI, and probably many others all
define the "CI" environment variable, so its easy to detect when running
in a CI environment.  This makes things a lot cleaner.

* https://docs.gitlab.com/ce/ci/variables/README.html
* https://docs.travis-ci.com/user/environment-variables/
* https://circleci.com/docs/2.0/env-vars/
* https://github.com/codepath/android_guides/wiki/Setting-up-Travis-CI
* https://stackoverflow.com/questions/23137764/building-a-debug-apk
6 years ago
Hans-Christoph Steiner 1f8330fd06 use gradle android plugin v2.2.2
Starting with v2.2.2, it zeroes out timestamps in the APK's ZIP header
https://android-developers.googleblog.com/2016/11/understanding-apk-packaging-in-android-studio-2-2.html

This version is also the version that is included in Debian/stretch.
6 years ago
Daniel Martí 36378acc7b gradle: bump plugin version to 2.2.0
Also update the dependency declarations since the current ones break
with the new plugin/gradle version.

https://stackoverflow.com/questions/39602587/could-not-get-unknown-property-assemblerelease-for-project
7 years ago
Daniel Martí cbccb910a2 gradle: bump plugin and wrapper version
Since the new plugin requires 2.14.1 for security reasons.

Also re-run `gradle wrapper` to update the scripts and the jar.
7 years ago
Daniel Martí fef76eff89 gradle: bump android plugin version to 2.1.2
Bugfix release, no changelog on developer.android.com.
7 years ago
Hans-Christoph Steiner 41b2e175c9 improve build server performance by allowing disabling of pre-dexing
It seems that Google is finally paying some attention to CI builds with the
emulator, they issued a recommendation:
http://tools.android.com/tech-docs/new-build-system/tips#TOC-Improving-Build-Server-performance
7 years ago
Daniel Martí 2ed7c925f7 gradle: bump Android plugin to 2.1.0 7 years ago
Daniel Martí 2eea94e5ea gradlew: bump to 2.12
Also remove the 2.11 restriction on the root build.gradle file. It's
unnecessary, as the Android plugin will already error if the version is
too old. This means that the build will work on any version that is new
enough, which should be 2.10-2.12 at the time of writing.
7 years ago
Daniel Martí 27c9a21764 Gradle: Bump android plugin to 2.0.0
Also add useProgard true, since minifyEnabled now refers to the new
experimental code shrinker.

I'm not removing proguard yet as we depend on it for the samsung
workaround. I also do not know how to port the rest of the config
options to the new shrinker.
7 years ago
Daniel Martí ddda82509c Bump gradle to 2.11 7 years ago
Daniel Martí 89c53bbd5e Bump gradle plugin to 1.5.0 7 years ago
Daniel Martí 57f5180dae Bump Gradle to 2.9
I'd do 2.10, the current stable, but the android plugin seems to break
with it.
8 years ago
Daniel Martí b6654f5077 Bump gradle to 2.8 8 years ago
Daniel Martí 999fa6eb21 Add checkstyle with a small config
It doesn't include all of the Android style checks as found in Android Studio,
but it's a start.

Bump Gradle to 2.7 because the checkstyle plugin in earlier versions is just
not good enough.
8 years ago
Daniel Martí 6d579368af Start using gradle-witness
Fixes #429.
8 years ago
Daniel Martí 4f40160c40 A root build.gradle file is now common 8 years ago
Daniel Martí ad8896b2e8 Bump gradle plugin version to 1.3.1 8 years ago
Daniel Martí 50ac03e97d Bump gradle plugin to 1.3.0 8 years ago
Daniel Martí 340cba3ebe Bump gradle plugin version 8 years ago
Daniel Martí 49b954e63d Bump gradle plugin to 1.2.2 8 years ago
Daniel Martí d9590743d9 Get rid of root build.gradle hacks again
Now that we controll all lib build.gradle files, we can finally do it.

If we want to build support-v7 from source again with gradle, we'll import the
build.gradle and "fix" it like the rest.
8 years ago
Daniel Martí 48c3e1f747 Revert "Remove now unneeded hacks from root build.gradle"
This reverts commit c4f416396a.
8 years ago
Daniel Martí c4f416396a Remove now unneeded hacks from root build.gradle 8 years ago
Daniel Martí 3784e58fc4 Add gradle support to UniversalImageLoader 8 years ago
Daniel Martí 6deac28a8b libsuperuser: remove maven and bintray stuff 8 years ago
Daniel Martí de3c224b02 Move zipsigner deps into its own build.gradle 8 years ago