diff options
Diffstat (limited to 'vendor/libadb-android/libadb/build.gradle')
| -rw-r--r-- | vendor/libadb-android/libadb/build.gradle | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/vendor/libadb-android/libadb/build.gradle b/vendor/libadb-android/libadb/build.gradle new file mode 100644 index 0000000..c5bee94 --- /dev/null +++ b/vendor/libadb-android/libadb/build.gradle @@ -0,0 +1,59 @@ +// SPDX-License-Identifier: GPL-3.0-or-later OR Apache-2.0 + +plugins { + id 'com.android.library' + id 'maven-publish' +} + +group = 'io.github.muntashirakon' +version = '3.1.1' + +android { + compileSdk 35 + namespace "io.github.muntashirakon.adb" + + defaultConfig { + minSdk 1 + targetSdk 35 + aarMetadata { + minCompileSdk = 1 + } + } + + buildTypes { + release { + minifyEnabled false + } + } + + compileOptions { + sourceCompatibility JavaVersion.VERSION_1_8 + targetCompatibility JavaVersion.VERSION_1_8 + } + + publishing { + singleVariant("release") { + withSourcesJar() + withJavadocJar() + } + } +} + +publishing { + publications { + release(MavenPublication) { + artifactId = 'libadb' + afterEvaluate { + from components.release + } + } + } +} + +dependencies { + implementation "androidx.annotation:annotation:1.9.1" + implementation 'org.bouncycastle:bcprov-jdk15to18:1.81' + implementation 'com.github.MuntashirAkon.spake2-java:spake2-android:2.2.1' + + testImplementation 'junit:junit:4.13.2' +} |