diff options
author | Takeshi Hagikura <thagikura@google.com> | 2017-05-17 15:19:06 +0900 |
---|---|---|
committer | Takeshi Hagikura <thagikura@google.com> | 2017-05-17 15:19:44 +0900 |
commit | 3e76d9904932c938044534115b14dcc09f6b9e42 (patch) | |
tree | 7cf98407fe6dc0aae7d3adbcaf33bd42705b48c4 /ui/fonts/DownloadableFonts/kotlinApp/build.gradle | |
parent | 44fce7014498507dfd0934056899e9b39413e41b (diff) | |
download | android-3e76d9904932c938044534115b14dcc09f6b9e42.tar.gz |
Add a kotlin module for DownloadableFonts sample
Test: Manual
Change-Id: I0e08cc3ede610b195f2e9ceec0bab3a56b99985c
Diffstat (limited to 'ui/fonts/DownloadableFonts/kotlinApp/build.gradle')
-rw-r--r-- | ui/fonts/DownloadableFonts/kotlinApp/build.gradle | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/ui/fonts/DownloadableFonts/kotlinApp/build.gradle b/ui/fonts/DownloadableFonts/kotlinApp/build.gradle new file mode 100644 index 00000000..1d94fb0d --- /dev/null +++ b/ui/fonts/DownloadableFonts/kotlinApp/build.gradle @@ -0,0 +1,37 @@ +apply plugin: 'com.android.application' +apply plugin: 'kotlin-android' + +android { + compileSdkVersion 'android-O' + buildToolsVersion "26.0.0 rc2" + + defaultConfig { + applicationId "com.example.android.downloadablefonts" + // Once API level 26 SDK is launched, lower the minSdkVersion. + // At this moment, an app targeting the preview version of the SDK only runs on the + // preview device. + minSdkVersion 'O' + targetSdkVersion 'O' + } + + buildTypes { + release { + minifyEnabled false + proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt' + } + } + + dependencies { + compile 'com.android.support:appcompat-v7:26.0.0-beta1' + compile 'com.android.support:design:26.0.0-beta1' + compile 'com.android.support:cardview-v7:26.0.0-beta1' + } +} + +repositories { + mavenCentral() +} +dependencies { + compile "org.jetbrains.kotlin:kotlin-stdlib-jre7:$kotlin_version" +} + |