mirror of
https://gitee.com/replugin/RePlugin.git
synced 2024-11-30 02:38:34 +08:00
Create a directory structure for RePlugin and some README/GitIgnore files
This commit is contained in:
commit
f3d34535b3
266
.gitignore
vendored
Normal file
266
.gitignore
vendored
Normal file
@ -0,0 +1,266 @@
|
||||
# --------
|
||||
# Git Global Ignores
|
||||
# Power By github/gitignore (License: CC0 1.0)
|
||||
# Collect by RePlugin Team
|
||||
# --------
|
||||
|
||||
|
||||
# --------
|
||||
# Android
|
||||
# https://github.com/github/gitignore/blob/master/Android.gitignore
|
||||
# Date: 17 Feb 2017
|
||||
# --------
|
||||
|
||||
# Built application files
|
||||
*.apk
|
||||
*.ap_
|
||||
|
||||
# Files for the ART/Dalvik VM
|
||||
*.dex
|
||||
|
||||
# Java class files
|
||||
*.class
|
||||
|
||||
# Generated files
|
||||
bin/
|
||||
gen/
|
||||
out/
|
||||
|
||||
# Gradle files
|
||||
.gradle/
|
||||
build/
|
||||
|
||||
# Local configuration file (sdk path, etc)
|
||||
local.properties
|
||||
|
||||
# Proguard folder generated by Eclipse
|
||||
proguard/
|
||||
|
||||
# Log Files
|
||||
*.log
|
||||
|
||||
# Android Studio Navigation editor temp files
|
||||
.navigation/
|
||||
|
||||
# Android Studio captures folder
|
||||
captures/
|
||||
|
||||
# Intellij
|
||||
*.iml
|
||||
.idea/workspace.xml
|
||||
.idea/tasks.xml
|
||||
.idea/gradle.xml
|
||||
.idea/dictionaries
|
||||
.idea/libraries
|
||||
|
||||
# Keystore files
|
||||
*.jks
|
||||
|
||||
# External native build folder generated in Android Studio 2.2 and later
|
||||
.externalNativeBuild
|
||||
|
||||
# Google Services (e.g. APIs or Firebase)
|
||||
google-services.json
|
||||
|
||||
# Freeline
|
||||
freeline.py
|
||||
freeline/
|
||||
freeline_project_description.json
|
||||
|
||||
|
||||
# --------
|
||||
# Gradle
|
||||
# https://raw.githubusercontent.com/github/gitignore/master/Gradle.gitignore
|
||||
# Date: 25 Jun 2016
|
||||
# --------
|
||||
|
||||
.gradle
|
||||
/build/
|
||||
|
||||
# Ignore Gradle GUI config
|
||||
gradle-app.setting
|
||||
|
||||
# Avoid ignoring Gradle wrapper jar file (.jar files are usually ignored)
|
||||
!gradle-wrapper.jar
|
||||
|
||||
# Cache of project
|
||||
.gradletasknamecache
|
||||
|
||||
# # Work around https://youtrack.jetbrains.com/issue/IDEA-116898
|
||||
# gradle/wrapper/gradle-wrapper.properties
|
||||
|
||||
|
||||
# --------
|
||||
# Java
|
||||
# https://raw.githubusercontent.com/github/gitignore/master/Java.gitignore
|
||||
# Date: 14 Feb 2017
|
||||
# --------
|
||||
|
||||
# Compiled class file
|
||||
*.class
|
||||
|
||||
# Log file
|
||||
*.log
|
||||
|
||||
# BlueJ files
|
||||
*.ctxt
|
||||
|
||||
# Mobile Tools for Java (J2ME)
|
||||
.mtj.tmp/
|
||||
|
||||
# Package Files #
|
||||
*.jar
|
||||
*.war
|
||||
*.ear
|
||||
*.zip
|
||||
*.tar.gz
|
||||
*.rar
|
||||
|
||||
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
|
||||
hs_err_pid*
|
||||
|
||||
|
||||
# --------
|
||||
# Eclipse
|
||||
# https://github.com/github/gitignore/blob/master/Global/Eclipse.gitignore
|
||||
# Date: 28 Mar 2017
|
||||
# --------
|
||||
|
||||
.metadata
|
||||
bin/
|
||||
tmp/
|
||||
*.tmp
|
||||
*.bak
|
||||
*.swp
|
||||
*~.nib
|
||||
local.properties
|
||||
.settings/
|
||||
.loadpath
|
||||
.recommenders
|
||||
|
||||
# External tool builders
|
||||
.externalToolBuilders/
|
||||
|
||||
# Locally stored "Eclipse launch configurations"
|
||||
*.launch
|
||||
|
||||
# PyDev specific (Python IDE for Eclipse)
|
||||
*.pydevproject
|
||||
|
||||
# CDT-specific (C/C++ Development Tooling)
|
||||
.cproject
|
||||
|
||||
# Java annotation processor (APT)
|
||||
.factorypath
|
||||
|
||||
# PDT-specific (PHP Development Tools)
|
||||
.buildpath
|
||||
|
||||
# sbteclipse plugin
|
||||
.target
|
||||
|
||||
# Tern plugin
|
||||
.tern-project
|
||||
|
||||
# TeXlipse plugin
|
||||
.texlipse
|
||||
|
||||
# STS (Spring Tool Suite)
|
||||
.springBeans
|
||||
|
||||
# Code Recommenders
|
||||
.recommenders/
|
||||
|
||||
# Scala IDE specific (Scala & Java development for Eclipse)
|
||||
.cache-main
|
||||
.scala_dependencies
|
||||
.worksheet
|
||||
|
||||
# --------
|
||||
# Windows
|
||||
# https://github.com/github/gitignore/blob/master/Global/Windows.gitignore
|
||||
# Date: 10 May 2017
|
||||
# --------
|
||||
|
||||
# Windows thumbnail cache files
|
||||
Thumbs.db
|
||||
ehthumbs.db
|
||||
ehthumbs_vista.db
|
||||
|
||||
# Dump file
|
||||
*.stackdump
|
||||
|
||||
# Folder config file
|
||||
Desktop.ini
|
||||
|
||||
# Recycle Bin used on file shares
|
||||
$RECYCLE.BIN/
|
||||
|
||||
# Windows Installer files
|
||||
*.cab
|
||||
*.msi
|
||||
*.msm
|
||||
*.msp
|
||||
|
||||
# Windows shortcuts
|
||||
*.lnk
|
||||
|
||||
# --------
|
||||
# Linux
|
||||
# https://github.com/github/gitignore/blob/master/Global/Linux.gitignore
|
||||
# --------
|
||||
|
||||
*~
|
||||
|
||||
# temporary files which can be created if a process still has a handle open of a deleted file
|
||||
.fuse_hidden*
|
||||
|
||||
# KDE directory preferences
|
||||
.directory
|
||||
|
||||
# Linux trash folder which might appear on any partition or disk
|
||||
.Trash-*
|
||||
|
||||
# .nfs files are created when an open file is removed but is still being accessed
|
||||
.nfs*
|
||||
|
||||
# --------
|
||||
# Mac OS
|
||||
# https://github.com/github/gitignore/blob/master/Global/macOS.gitignore
|
||||
# Date: 01 Apr 2017
|
||||
# --------
|
||||
# General
|
||||
*.DS_Store
|
||||
.AppleDouble
|
||||
.LSOverride
|
||||
|
||||
# Icon must end with two \r
|
||||
Icon
|
||||
|
||||
|
||||
# Thumbnails
|
||||
._*
|
||||
|
||||
# Files that might appear in the root of a volume
|
||||
.DocumentRevisions-V100
|
||||
.fseventsd
|
||||
.Spotlight-V100
|
||||
.TemporaryItems
|
||||
.Trashes
|
||||
.VolumeIcon.icns
|
||||
.com.apple.timemachine.donotpresent
|
||||
|
||||
# Directories potentially created on remote AFP share
|
||||
.AppleDB
|
||||
.AppleDesktop
|
||||
Network Trash Folder
|
||||
Temporary Items
|
||||
.apdisk
|
||||
|
||||
# --------
|
||||
# Tortoise Git
|
||||
# Author: RePlugin Team
|
||||
# Date: 20 Dec 2016
|
||||
# --------
|
||||
# Project-level settings
|
||||
/.tgitconfig
|
15
replugin-host-gradle/README.md
Normal file
15
replugin-host-gradle/README.md
Normal file
@ -0,0 +1,15 @@
|
||||
# RePlugin Host Gradle
|
||||
|
||||
RePlugin Host Gradle是一个Gradle插件,由 **主程序** 负责引入。
|
||||
|
||||
该Gradle插件主要负责在主程序的编译期中做一些事情,此外,开发者可通过修改其属性而做一些自定义的操作。
|
||||
|
||||
大致包括:
|
||||
|
||||
* 生成带 RePlugin 插件坑位的 AndroidManifest.xml(允许自定义数量)
|
||||
* 生成HostBuildConfig类,方便插件框架读取并自定义其属性
|
||||
|
||||
开发者需要依赖此Gradle插件,以实现对RePlugin的接入。请参见WiKi以了解接入方法。
|
||||
|
||||
有关RePlugin Host Gradle的详细描述,请访问我们的WiKi,以了解更多的内容。
|
||||
(文档正在完善,请耐心等待)
|
9
replugin-host-lib/README.md
Normal file
9
replugin-host-lib/README.md
Normal file
@ -0,0 +1,9 @@
|
||||
# RePlugin Host Library
|
||||
|
||||
RePlugin Host Library是一个Java工程,由 **主程序** 负责引入。
|
||||
|
||||
几乎所有和RePlugin相关的代码都在其中,是核心工程。
|
||||
|
||||
开发者需要依赖此Library,以实现对RePlugin的接入。请参见WiKi以了解接入方法。
|
||||
|
||||
有关RePlugin Host Library的详细描述,请访问我们的WiKi,以了解更多的内容。
|
14
replugin-plugin-gradle/README.md
Normal file
14
replugin-plugin-gradle/README.md
Normal file
@ -0,0 +1,14 @@
|
||||
# RePlugin Plugin Gradle
|
||||
|
||||
RePlugin Plugin Gradle是一个Gradle插件,由 **插件** 负责引入。
|
||||
|
||||
该Gradle插件主要负责在插件的编译期中做一些事情,是“动态编译方案”的主要实现者。此外,开发者可通过修改其属性而做一些自定义的操作。
|
||||
|
||||
大致包括:
|
||||
|
||||
* 动态修改主要调用代码,改为调用RePlugin Plugin Gradle(如Activity的继承、Provider的重定向等)
|
||||
|
||||
开发者需要依赖此Gradle插件,以实现对RePlugin的接入。请参见WiKi以了解接入方法。
|
||||
|
||||
有关RePlugin Host Gradle的详细描述,请访问我们的WiKi,以了解更多的内容。
|
||||
(文档正在完善,请耐心等待)
|
9
replugin-plugin-lib/README.md
Normal file
9
replugin-plugin-lib/README.md
Normal file
@ -0,0 +1,9 @@
|
||||
# RePlugin Plugin Library
|
||||
|
||||
RePlugin Plugin Library是一个Java工程,由 **插件** 负责引入。
|
||||
|
||||
该类主要提供通过“Java反射”来调用主程序中 RePlugin Host Library 的相关接口,并提供“双向通信”的能力。
|
||||
|
||||
开发者需要依赖此Library,以让您的单品工程变成“插件”。请参见WiKi以了解接入方法。
|
||||
|
||||
有关RePlugin Plugin Library的详细描述,请访问我们的WiKi,以了解更多的内容。
|
13
replugin-sample/README.md
Normal file
13
replugin-sample/README.md
Normal file
@ -0,0 +1,13 @@
|
||||
# RePlugin Sample
|
||||
|
||||
RePlugin Sample工程主要为您展现RePlugin插件的主要用法。
|
||||
|
||||
它并非是“纯粹”的工程,其内部包含了大量可供参考的调用代码,并含有一些测试代码,帮助开发者在接入时能够对RePlugin有所了解。
|
||||
|
||||
包括下列内容:
|
||||
|
||||
* host → 主程序的Sample
|
||||
* plugin-demo1 → 插件1Sample,大部分逻辑都在其中
|
||||
* plugin-demo2 → 插件2的Sample,主要是配合插件1而做的工作
|
||||
|
||||
阅读Sample代码需要和RePlugin的用法相结合。请访问我们的WiKi,以了解更多的内容。
|
Loading…
Reference in New Issue
Block a user