CMake/Android: enable Gradle for building Qt JARs


Add Gradle project structure for JAR builds which allows
CMake to run a Gradle build and also enables such code to
be managed from IDEs easily.

The default Android platform Jar include won't be needed
because it's handled by Gradle, and the main QtAndroid.jar
include is added automatically by qt_internal_add_jar().

This also update gitignore with Gradle, JDTLS and IntelliJ
ignores. It also removes files that might have been used
exclusively for javac and some that are not needed for
neither javac nor Gradle.

Task-number: QTBUG-132915
Change-Id: I46452ba0f7e0213ea2758ebaa4e7474bffcc301c
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
commit3a46a29bc285cf1e2313317e6a198308f068b425
parentffdbb742d40b38fad8fe92c8cae864340c81de64
authorAssam Boudjelthia <assam.boudjelthia@qt.io>
committerAssam Boudjelthia <assam.boudjelthia@qt.io>
commit timeTue, 5 May 2026 15:21:22 +0000