aboutsummaryrefslogtreecommitdiff
path: root/vendor/libadb-android/libadb/build.gradle
blob: 33a9b9f1480f1aec1b54b67bb63537802b52cb71 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
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.84'
    implementation 'com.github.MuntashirAkon.spake2-java:spake2-android:2.2.1'

    testImplementation 'junit:junit:4.13.2'
}