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.

Task-number: QTBUG-132915
Change-Id: I10e4034a01d8c5ae14a7c7875e6e53b89201086f
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
commita530d37362197d35fd7ebd38916f936a934475a2
parentf9a9ddb5469934a62d3e7cce95e5d669f0cc24ad
authorAssam Boudjelthia <assam.boudjelthia@qt.io>
committerAssam Boudjelthia <assam.boudjelthia@qt.io>
commit timeFri, 8 May 2026 16:53:05 +0000