summaryrefslogtreecommitdiff
path: root/AndroidNative/build.gradle
blob: bd1bab334a68fc60e2f132242148ddb943eb0c2b (plain)
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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
    repositories {
        jcenter()
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:2.2.0'
    }
}

allprojects {
    repositories {
        jcenter()
    }
}

task createJar(type: Copy){
    dependsOn ':FormsViewGroup:clean'
    dependsOn ':FormsViewGroup:bundleRelease'

    tasks.getByPath(':FormsViewGroup:bundleRelease').mustRunAfter(tasks.getByPath(':FormsViewGroup:clean'))

    from('FormsViewGroup/build/intermediates/bundles/release/')
    into('../Xamarin.Forms.Platform.Android.FormsViewGroup/Jars/')
    include('classes.jar')
    rename('classes.jar', 'formsviewgroup.jar')
}