lizhangqu / Androidgradleplugincompat
android gradle plugin兼容库
Stars: ✭ 54
Programming Languages
groovy
2714 projects
Labels
Projects that are alternatives of or similar to Androidgradleplugincompat
Easypreferences
This class simplifies calls to SharedPreferences in a line of code. It can also do more like: saving a list of strings, integers and saving images. All in 1 line of code!
Stars: ✭ 34 (-37.04%)
Mutual labels: gradle
Grabver
Gradle Automatic Build Versioning Plugin - An easy Gradle plugin that follows semver.org rules to automatically generate the Patch version, Build number and Code version, while Major, Minor and Pre-Release suffix remain under our control.
Stars: ✭ 39 (-27.78%)
Mutual labels: gradle
Android Easy Multidex
[Deprecated] Android,multidex,splitdex,分包插件
Stars: ✭ 976 (+1707.41%)
Mutual labels: gradle
Unused Dep
Detects unused dependencies in Android gradle projects
Stars: ✭ 38 (-29.63%)
Mutual labels: gradle
Scala Cypher Dsl
A type-safe Cypher Query Language DSL for Scala.
Stars: ✭ 34 (-37.04%)
Mutual labels: gradle
Business Search App Java
Showcases object oriented programming in Java, Java Swing, Kotlin, and Android
Stars: ✭ 53 (-1.85%)
Mutual labels: gradle
Quality Checks
Gradle plugin which includes Checkstyle, FindBugs, and PMD basic configuration.
Stars: ✭ 38 (-29.63%)
Mutual labels: gradle
Kotlin Android Template
Android + Kotlin + Github Actions + ktlint + Detekt + Gradle Kotlin DSL + buildSrc = ❤️
Stars: ✭ 984 (+1722.22%)
Mutual labels: gradle
Weaponapp
一个尽量做到极致的集大成App,努力做到最好(开发阶段)——MVVM+Retrofit+RxJava+Small 插件化+单元测试+MD
Stars: ✭ 1,011 (+1772.22%)
Mutual labels: gradle
Pipeline With Gradle And Docker
Continuous Deployment with Gradle and Docker example project
Stars: ✭ 34 (-37.04%)
Mutual labels: gradle
Hunter
A fast, incremental, concurrent framework to develop compile plugin for android project to manipulate bytecode
Stars: ✭ 999 (+1750%)
Mutual labels: gradle
Auto Manifest
Generates AndroidManifest.xml in simple libraries so that you don't have to
Stars: ✭ 51 (-5.56%)
Mutual labels: gradle
Enigma
Gradle Plugin - Obfuscator String Encryption (Android/Java)
Stars: ✭ 43 (-20.37%)
Mutual labels: gradle
Android Gradle Plugin兼容插件
在com.android.application中使用provided aar功能
首先调用一遍
providedAarCompat()
然后就可以正常使用providedAar了,如
dependencies {
providedAar 'com.tencent.tinker:tinker-android-lib:1.9.1'
}
目前只支持如下版本
- android gradle plugin [1.3.0,3.1.0], 支持传递依赖
小于1.3.0的版本不支持,抛异常
aapt2是否开启
if (isAapt2EnabledCompat()) {
} else {
}
aapt2 jni方式是否开启
if (isAapt2JniEnabledCompat()) {
} else {
}
aapt2 守护进程方式是否开启
if (isAapt2DaemonModeEnabledCompat()) {
} else {
}
获取 android gradle plugin 版本号
String androidGradlePluginVersion = getAndroidGradlePluginVersionCompat()
是否在jenkins环境中
boolean onJenkins = isJenkins()
获取R.java文件中的包名
String packageForR = getPackageForRCompatCompat('release')
获取R.java文件路径
File rFile = getRFileCompat('release')
获取R.java文件去除包名后的父路径
File rDir = getRDirCompat('release')
获取resource.ap_文件路径
File apFile = getPublishApFileCompat('release')
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].