diff --git a/README.md b/README.md index 6f096c9..e581ece 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ You can also receive a callback for when an item is clicked, and whether it is s ### Gradle -`compile 'github.hellocsl:CursorWheelLayout:1.0.2'` +`compile 'github.hellocsl:CursorWheelLayout:1.1.0'` ### Maven @@ -25,7 +25,7 @@ You can also receive a callback for when an item is clicked, and whether it is s github.hellocsl CursorWheelLayout - 1.0.2 + 1.1.0 pom ``` diff --git a/build.gradle b/build.gradle index 8644f22..85bf6c6 100644 --- a/build.gradle +++ b/build.gradle @@ -17,10 +17,14 @@ allprojects { repositories { jcenter() } + + tasks.withType(Javadoc) { + options.addStringOption('Xdoclint:none', '-quiet') + options.addStringOption('encoding', 'UTF-8') + } } task clean(type: Delete) { delete rootProject.buildDir } - diff --git a/library/build.gradle b/library/build.gradle index c2c76d7..9408267 100644 --- a/library/build.gradle +++ b/library/build.gradle @@ -21,7 +21,7 @@ android { dependencies { compile fileTree(dir: 'libs', include: ['*.jar']) testCompile 'junit:junit:4.12' - compile 'com.android.support:appcompat-v7:23.2.1' + compile 'com.android.support:support-annotations:23.2.1' } @@ -29,7 +29,7 @@ publish { userOrg = 'bcsl' groupId = 'github.hellocsl' artifactId = 'CursorWheelLayout' - publishVersion = '1.0.2' + publishVersion = '1.1.0' desc = 'An Android Widget for selecting items that rotate on a wheel' website = 'https://github.com/BCsl/CursorWheelLayout' } diff --git a/library/src/main/java/github/hellocsl/cursorwheel/CursorWheelLayout.java b/library/src/main/java/github/hellocsl/cursorwheel/CursorWheelLayout.java index d182cb1..47b03ac 100644 --- a/library/src/main/java/github/hellocsl/cursorwheel/CursorWheelLayout.java +++ b/library/src/main/java/github/hellocsl/cursorwheel/CursorWheelLayout.java @@ -26,17 +26,16 @@ * The base cycle wheel menu layout with cursor * * @author chensuilun - * @attr ref wheelSelectedAngle - * @attr ref wheelPaddingRadio - * @attr ref wheelCenterRadio - * @attr ref wheelItemRadio - * @attr ref wheelFlingValue - * @attr ref wheelCursorColor - * @attr ref wheelCursorHeight - * @attr ref wheelItemRotateMode - * @attr ref wheelGuideLineWidth - * @attr ref wheelGuideLineColor - * @see R.github.hellocsl.cursorwheel.R.attr + * @attr R.styleable.CursorWheelLayout_wheelSelectedAngle + * @attr R.styleable.CursorWheelLayout_wheelPaddingRadio + * @attr R.styleable.CursorWheelLayout_wheelCenterRadio + * @attr R.styleable.CursorWheelLayout_wheelItemRadio + * @attr R.styleable.CursorWheelLayout_wheelFlingValue + * @attr R.styleable.CursorWheelLayout_wheelCursorColor + * @attr R.styleable.CursorWheelLayout_wheelCursorHeight + * @attr R.styleable.CursorWheelLayout_wheelItemRotateMode + * @attr R.styleable.CursorWheelLayout_wheelGuideLineWidth + * @attr R.styleable.CursorWheelLayout_wheelGuideLineColor */ public class CursorWheelLayout extends ViewGroup { private static final String TAG = "CircleMenuLayout";