mirror of
https://github.com/adaptech-cz/Tesseract4Android.git
synced 2026-01-09 06:12:45 +08:00
They doesn't have latest CMake installed by default. But to install it, we need to use sdkmanager which doesn't support Java 11. So we must first use Java 8, download cmake, then install and use Java 11. Alternatively we can forget about installing newer CMake as compilation works also with older version, but there are warnings that NDK needs newer CMake. And we would also have to remove the required CMake version from build.gradle. Also we must ignore :sample project when building on JitPack as it breaks build too.
5 lines
80 B
Groovy
5 lines
80 B
Groovy
include ':tesseract4android'
|
|
if (!System.env.JITPACK) {
|
|
include ':sample'
|
|
}
|