diff --git a/app/build.gradle b/app/build.gradle index 9cc6ba14..3ec30d10 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -4,7 +4,7 @@ plugins { android { compileSdkVersion project.properties.compileSdkVersion.toInteger() - ndkVersion project.properties.ndkVersion + ndkVersion = System.getenv("JITPACK_NDK_VERSION") ?: project.properties.ndkVersion dependencies { implementation "androidx.annotation:annotation:1.2.0" diff --git a/jitpack.yml b/jitpack.yml new file mode 100644 index 00000000..6a9b67d8 --- /dev/null +++ b/jitpack.yml @@ -0,0 +1,2 @@ +env: + JITPACK_NDK_VERSION: "21.1.6352462" diff --git a/terminal-emulator/build.gradle b/terminal-emulator/build.gradle index c60d4ad0..e03403f9 100644 --- a/terminal-emulator/build.gradle +++ b/terminal-emulator/build.gradle @@ -3,7 +3,7 @@ apply plugin: 'maven-publish' android { compileSdkVersion project.properties.compileSdkVersion.toInteger() - ndkVersion project.properties.ndkVersion + ndkVersion = System.getenv("JITPACK_NDK_VERSION") ?: project.properties.ndkVersion defaultConfig { minSdkVersion project.properties.minSdkVersion.toInteger()