diff --git a/build.gradle b/build.gradle index 9d66dfce..8f5e97cb 100644 --- a/build.gradle +++ b/build.gradle @@ -2,10 +2,11 @@ buildscript { repositories { mavenCentral() + jcenter() } dependencies { - classpath 'com.android.tools.build:gradle:1.5.0' + classpath 'com.android.tools.build:gradle:2.1.0' } } @@ -14,11 +15,12 @@ def isReleaseBuild() { } allprojects { - version = VERSION_NAME - group = GROUP +// version = VERSION_NAME +// group = GROUP repositories { mavenCentral() + jcenter() } } diff --git a/demo/build.gradle b/demo/build.gradle index f4d20ae5..91bf3983 100644 --- a/demo/build.gradle +++ b/demo/build.gradle @@ -1,8 +1,12 @@ apply plugin: 'com.android.application' +repositories { + maven { url 'http://Manabu-GT.github.com/GlassView/mvn-repo' } +} + android { compileSdkVersion 23 - buildToolsVersion "23.0.2" + buildToolsVersion "23.0.3" lintOptions { abortOnError false @@ -11,11 +15,16 @@ android { defaultConfig { minSdkVersion 11 targetSdkVersion 23 + + renderscriptTargetApi 21 + renderscriptSupportModeEnabled true } } + dependencies { - compile 'com.android.support:support-v4:23.1.1' - compile 'com.android.support:appcompat-v7:23.1.1' - compile project(':library') + compile 'com.android.support:support-v4:23.4.0' + compile 'com.android.support:appcompat-v7:23.4.0' + + compile project(':library') } diff --git a/demo/res/layout/activity_demo.xml b/demo/res/layout/activity_demo.xml new file mode 100644 index 00000000..7fd97367 --- /dev/null +++ b/demo/res/layout/activity_demo.xml @@ -0,0 +1,102 @@ + + + + + + + + + + + + + + + + + +