Sha256: 4bb8465d8cf047f212fbe969dfc04f2a4769b08a51fda375c47e59157a469b96

Contents?: true

Size: 988 Bytes

Versions: 24

Compression:

Stored size: 988 Bytes

Contents

def safeExtGet(prop, fallback) {
    rootProject.ext.has(prop) ? rootProject.ext.get(prop) : fallback
}

plugins {
    id 'com.android.library'
}

android {
    compileSdkVersion 30

    defaultConfig {
        minSdkVersion 16
        targetSdkVersion 30
        versionCode 1
        versionName "1.0"

        testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
        consumerProguardFiles "consumer-rules.pro"
    }

    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
        }
    }
    compileOptions {
        sourceCompatibility JavaVersion.VERSION_1_8
        targetCompatibility JavaVersion.VERSION_1_8
    }
}

dependencies {
    implementation "com.github.gonativeio:gonative-android-library:${safeExtGet('libraryVersion', '1.2.+')}"
    implementation "com.github.gonativeio:gonative-android-core:${safeExtGet('coreVersion', '1.3.+')}"
}

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
gonative-cli-1.1.2 templates/plugins/android/build.gradle
gonative-cli-1.1.1 templates/plugins/android/build.gradle
gonative-cli-1.1.0 templates/plugins/android/build.gradle
gonative-cli-1.0.6 templates/plugins/android/build.gradle