Skip to content

Commit

Permalink
Support AppCompat v23
Browse files Browse the repository at this point in the history
  • Loading branch information
johnkil committed Aug 19, 2015
1 parent aa86b40 commit f79db86
Show file tree
Hide file tree
Showing 6 changed files with 208 additions and 196 deletions.
16 changes: 12 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,15 +1,23 @@
buildscript {
repositories {
mavenCentral()
jcenter()
}

dependencies {
classpath 'com.android.tools.build:gradle:1.2.3'
classpath 'com.android.tools.build:gradle:1.3.1'
}
}

allprojects {
repositories {
mavenCentral()
jcenter()
}
}

ext {
minSdkVersion = 7
compileSdkVersion = 23
buildToolsVersion = '23.0.0'

// Android dependencies.
supportAppCompat = 'com.android.support:appcompat-v7:23.0.0'
}
7 changes: 5 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
VERSION_NAME=2.4.0-SNAPSHOT
VERSION_CODE=12
# suppress inspection "UnusedProperty" for whole file
GROUP=com.github.johnkil.android-robototextview
VERSION_NAME=2.4.1-SNAPSHOT

POM_DESCRIPTION=Implementation of the fragment with the ability to display indeterminate progress indicator when you are waiting for the initial dataImplementation of a TextView and all its direct/indirect subclasses with native support for the Roboto fonts, includes the brand new Roboto Slab fonts.

POM_URL=https://github.com/johnkil/Android-RobotoTextView
POM_SCM_URL=https://github.com/johnkil/Android-RobotoTextView
POM_SCM_CONNECTION=scm:git@github.com:johnkil/Android-RobotoTextView.git
POM_SCM_DEV_CONNECTION=scm:git@github.com:johnkil/Android-RobotoTextView.git

POM_LICENCE_NAME=The Apache Software License, Version 2.0
POM_LICENCE_URL=http://www.apache.org/licenses/LICENSE-2.0.txt
POM_LICENCE_DIST=repo

POM_DEVELOPER_ID=johnkil
POM_DEVELOPER_NAME=Evgeny Shishkin
21 changes: 10 additions & 11 deletions robototextview-sample/build.gradle
Original file line number Diff line number Diff line change
@@ -1,19 +1,18 @@
apply plugin: 'com.android.application'

dependencies {
compile project(':robototextview')
}

android {
compileSdkVersion 22
buildToolsVersion "22.0.1"
compileSdkVersion rootProject.ext.compileSdkVersion
buildToolsVersion rootProject.ext.buildToolsVersion

defaultConfig {
applicationId "com.devspark.robototextview.sample"
minSdkVersion 7
targetSdkVersion 22
versionCode 12
versionName "2.4.0"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.compileSdkVersion
versionCode 1
versionName "$VERSION_NAME"
}
}

dependencies {
compile project(':robototextview')
compile 'com.android.support:appcompat-v7:22.1.1'
}
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,7 @@
* @author Evgeny Shishkin
*/
public class MainActivity extends AppCompatActivity {
/**
* Called when the activity is first created.
*/

@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
Expand Down
Loading

0 comments on commit f79db86

Please sign in to comment.