termux-app

Форк
0
/
build.gradle 
53 строки · 1.4 Кб
1
apply plugin: 'com.android.library'
2
apply plugin: 'maven-publish'
3

4
android {
5
    compileSdkVersion project.properties.compileSdkVersion.toInteger()
6

7
    dependencies {
8
        implementation "androidx.annotation:annotation:1.3.0"
9
        api project(":terminal-emulator")
10
    }
11

12
    defaultConfig {
13
        minSdkVersion project.properties.minSdkVersion.toInteger()
14
        targetSdkVersion project.properties.targetSdkVersion.toInteger()
15
        testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
16
    }
17

18
    buildTypes {
19
        release {
20
            minifyEnabled false
21
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
22
        }
23
    }
24

25
    compileOptions {
26
        sourceCompatibility JavaVersion.VERSION_1_8
27
        targetCompatibility JavaVersion.VERSION_1_8
28
    }
29
}
30

31
dependencies {
32
    testImplementation "junit:junit:4.13.2"
33
}
34

35
task sourceJar(type: Jar) {
36
    from android.sourceSets.main.java.srcDirs
37
    classifier "sources"
38
}
39

40
afterEvaluate {
41
    publishing {
42
        publications {
43
            // Creates a Maven publication called "release".
44
            release(MavenPublication) {
45
                from components.release
46
                groupId = 'com.termux'
47
                artifactId = 'terminal-view'
48
                version = '0.118.0'
49
                artifact(sourceJar)
50
            }
51
        }
52
    }
53
}
54

Использование cookies

Мы используем файлы cookie в соответствии с Политикой конфиденциальности и Политикой использования cookies.

Нажимая кнопку «Принимаю», Вы даете АО «СберТех» согласие на обработку Ваших персональных данных в целях совершенствования нашего веб-сайта и Сервиса GitVerse, а также повышения удобства их использования.

Запретить использование cookies Вы можете самостоятельно в настройках Вашего браузера.