build.gradle 1013 Bytes
Newer Older
Thomas Guillem's avatar
Thomas Guillem committed
1 2 3
apply plugin: 'com.android.application'

android {
4
    compileSdkVersion 28
Thomas Guillem's avatar
Thomas Guillem committed
5 6
    sourceSets {
        main {
7 8
            jni.srcDirs = []
            // Prevent gradle from building native code with ndk; we have our own Makefile for it.
Thomas Guillem's avatar
Thomas Guillem committed
9
            jniLibs.srcDir 'jni/libs' // Where generated .so files are placed
10
            assets.srcDirs = ['src/main/assets', '../assets/']
Thomas Guillem's avatar
Thomas Guillem committed
11 12 13 14
        }
    }
    defaultConfig {
        applicationId 'org.videolan.java_sample'
15 16
        minSdkVersion 17
        targetSdkVersion 28
Thomas Guillem's avatar
Thomas Guillem committed
17 18 19 20 21 22 23 24 25 26 27 28 29 30
        versionCode 1
        versionName "1.0"
    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }
    productFlavors {
    }
}

dependencies {
31 32 33 34
    implementation fileTree(dir: 'libs', include: ['*.jar'])
    implementation 'com.android.support:appcompat-v7:28.0.0'
    implementation 'com.android.support:support-v4:28.0.0'
    implementation project(':libvlc')
Thomas Guillem's avatar
Thomas Guillem committed
35
}