### Configure Maven Repository for Gradle Source: https://github.com/dmytrodanylyk/circular-progress-button/blob/master/README.md Add JitPack.io to your project's `allprojects` repositories block. This step is necessary to resolve the Circular Progress Button library dependency. ```Groovy allprojects { repositories { ... maven { url 'https://jitpack.io' } } } ``` -------------------------------- ### MIT License Source: https://github.com/dmytrodanylyk/circular-progress-button/blob/master/README.md The MIT License (MIT) grants broad permissions for use, modification, and distribution of the software, provided the copyright notice and permission notice are included. It disclaims warranties and limits liability. ```Text The MIT License (MIT) Copyright (c) 2014 Danylyk Dmytro Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ``` -------------------------------- ### ProGuard Rules for Android WebView JavaScript Interface Source: https://github.com/dmytrodanylyk/circular-progress-button/blob/master/sample/proguard-rules.txt This snippet demonstrates how to add a ProGuard rule to prevent obfuscation of a JavaScript interface class used with Android WebView, ensuring its public members are kept intact. It also includes general guidance on ProGuard file usage. ```ProGuard # Add project specific ProGuard rules here. # By default, the flags in this file are appended to flags specified # in C:/Work/android-sdk/tools/proguard/proguard-android.txt # You can edit the include path and order by changing the ProGuard # include property in project.properties. # # For more details, see # http://developer.android.com/guide/developing/tools/proguard.html # Add any project specific keep options here: # If your project uses WebView with JS, uncomment the following # and specify the fully qualified class name to the JavaScript interface # class: #-keepclassmembers class fqcn.of.javascript.interface.for.webview { # public *; } ``` -------------------------------- ### Add Circular Progress Button Dependency to Gradle Source: https://github.com/dmytrodanylyk/circular-progress-button/blob/master/README.md Include the `circular-progress-button` library as an implementation dependency in your module's `build.gradle` file. Replace `$latest` with the actual latest version of the library. ```Groovy dependencies { implementation 'com.github.dmytrodanylyk:circular-progress-button:$latest' } ``` -------------------------------- ### ProGuard Rules for Circular Progress Button Source: https://github.com/dmytrodanylyk/circular-progress-button/blob/master/README.md If you are using ProGuard in your Android project, add this rule to your ProGuard configuration file. This ensures that the `setStrokeColor` method of `StrokeGradientDrawable` is not obfuscated, preventing runtime issues. ```ProGuard -keepclassmembers class com.dd.StrokeGradientDrawable { public void setStrokeColor(int); } ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.