Commit 42726282 authored by Administrator's avatar Administrator

api足够稳定,普通项目不再需要依赖API代码工程

parent 598d520f
[submodule "base-lib-ratel-extension/ratelextension"]
path = base-lib-ratel-extension/ratelextension
url = git@git.virjar.com:ratel/ratelextension.git
[submodule "base-lib-ratel-api/ratel-api"]
path = base-lib-ratel-api/ratel-api
url = git@git.virjar.com:ratel/ratelapi.git
# ratel-demo
## clone方法
请注意,现在项目依赖ratel-extension改为git submodule,请使用``git clone --recursive xxx.git`
## 使用方法
ratel项目的模版,你可以基于本项目快速构建一个适合ratel框架的插件项目。
......
apply plugin: 'java-library'
sourceSets {
main {
resources {
srcDir 'ratel-api/src/main/resources'
}
java {
srcDir 'ratel-api/src/main/java'
}
}
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
compileOnly 'com.google.android:android:4.1.1.4'
compileOnly 'com.google.code.findbugs:jsr305:3.0.2'
compileOnly 'com.android.support:support-annotations:28.0.0'
}
Subproject commit 072c343fa73e63e44d986b3802f506ae27df7bc9
apply plugin: 'java-library'
sourceSets {
main {
resources {
srcDir 'ratelextension/src/main/resources'
}
java {
srcDir 'ratelextension/src/main/java'
}
}
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
compileOnly 'com.google.android:android:4.1.1.4'
compileOnly 'com.google.code.findbugs:jsr305:3.0.2'
compileOnly 'com.android.support:support-annotations:28.0.0'
//compileOnly 'com.virjar:ratel-api:1.3.2'
// 如果如果你仅仅为了测试extension,那么使用标准方式依赖ratel-api,如果需要访问RatelApi开发版本代码,
// 那么通过compileOnly project(':base-lib-ratel-api')的方式进行依赖
compileOnly project(':base-lib-ratel-api')
compileOnly 'com.virjar:sekiro-api:1.0.1'
}
Subproject commit 1bd498d37579932f7fe3e82586e641c66d1220df
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment