Skip to content

beaven11/GradlePlugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

CompilePlugin

A plugin tool used on Android Studio.

features: checkout selected files(file type: aar) from subversion,and compile to Android project.

steps:

  1. Create a configuration file of XML type,placed in the project's root location.
<?xml version="1.0" encoding="UTF-8" ?>
<dependencies>
    <compile>
        <svn>****</svn>
        <file>****</file>
        <file>****</file>
    </compile>
    <compile>
        <svn>***</svn>
        <file>***</file>
    </compile>
</dependencies>
  1. Set build.gradle in the root directory
dependencies {
        classpath 'com.android.tools.build:gradle:2.3.3'
        classpath files('libplugin.jar')
    }

ext {
    compileConfig = [
            enable : true, //Controls whether or not to configure the configuration file
            xmlName: "compile.xml" // Profile file name
    ]
}
  1. set build.gradle in the model project
apply plugin: 'com.gwcd.compile'

About

from svn checkout file,and compile to Android project

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages