Skip to content

Commit

Permalink
fix gradle property
Browse files Browse the repository at this point in the history
  • Loading branch information
MasayukiSuda committed Jan 17, 2019
1 parent eb88316 commit 352686a
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 10 deletions.
12 changes: 5 additions & 7 deletions gpuv/build.gradle
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
apply plugin: 'com.android.library'

android {
compileSdkVersion 28


compileSdkVersion COMPILE_SDK_VERSION as int

defaultConfig {
minSdkVersion 21
targetSdkVersion 28
versionCode 1
versionName "1.0"
minSdkVersion COMPILE_MIN_SDK_VERSION as int
targetSdkVersion COMPILE_SDK_VERSION as int
versionCode VERSION_CODE as int
versionName VERSION_NAME

}

Expand Down
5 changes: 5 additions & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,8 @@ org.gradle.jvmargs=-Xmx1536m
kotlin.code.style=official
android.useAndroidX=true
android.enableJetifier=true
VERSION_NAME=0.1.0
VERSION_CODE=1
BUILD_TOOLS_VERSION=28.0.3
COMPILE_SDK_VERSION=28
COMPILE_MIN_SDK_VERSION=21
6 changes: 3 additions & 3 deletions sample/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'

android {
compileSdkVersion 28
compileSdkVersion COMPILE_SDK_VERSION as int
defaultConfig {
applicationId "com.daasuu.gpuvideoandroid"
minSdkVersion 21
targetSdkVersion 28
minSdkVersion COMPILE_MIN_SDK_VERSION as int
targetSdkVersion COMPILE_SDK_VERSION as int
versionCode 1
versionName "1.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
Expand Down

0 comments on commit 352686a

Please sign in to comment.