Giter Club home page Giter Club logo

aroutergradleplugin's Introduction

ArouterGradlePlugin

简介

本插件可实现AGP7.4+下ARouter 框架自动注册,使用方法和com.alibaba:arouter-register 完全一致;

导入方法

插件发布地址ArouterPlugin

Using the plugins DSL:

plugins {
    id("io.github.JailedBird.ARouterPlugin") version "1.0.0-beta02"
}

Using legacy plugin application:

buildscript {
    repositories {
        maven {
            url = uri("https://plugins.gradle.org/m2/")
        }
    }
    dependencies {
        classpath("io.github.JailedBird:arouter-gradle-plugin:1.0.0-beta02")
    }
}

apply(plugin = "io.github.JailedBird.ARouterPlugin")

注意事项

注意本插件为AGP7.4版本, 7.4+尚未尝试(应该是可以执行的、后续会验证并推出专属版本),7.4以下无法使用(使用的API为7.4+限制);

代码经过测试支持同样支持AGP8+, 请切换feat-agp8分支;

参考文献

最后

后续我会写对应的文档和实现方式,欢迎star😘

aroutergradleplugin's People

Contributors

jailedbird avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.