├── rubik ├── rubik_router │ ├── consumer-rules.pro │ ├── src │ │ └── main │ │ │ ├── java │ │ │ └── com │ │ │ │ └── rubik │ │ │ │ ├── context │ │ │ │ ├── RouteActions.kt │ │ │ │ └── LifeCycleEvent.kt │ │ │ │ ├── router │ │ │ │ ├── annotations │ │ │ │ │ └── RInvariant.kt │ │ │ │ └── exception │ │ │ │ │ ├── BadUriException.kt │ │ │ │ │ ├── RubikNotInitException.kt │ │ │ │ │ └── BadRubikVersionException.kt │ │ │ │ ├── route │ │ │ │ ├── Result.kt │ │ │ │ ├── Object.kt │ │ │ │ ├── ResultGroups.kt │ │ │ │ ├── mapping │ │ │ │ │ └── JsonMapping.kt │ │ │ │ ├── Query.kt │ │ │ │ ├── LaunchQueries.kt │ │ │ │ ├── Results.kt │ │ │ │ └── exception │ │ │ │ │ ├── BadUriException.kt │ │ │ │ │ ├── BadResultException.kt │ │ │ │ │ ├── BadQueryException.kt │ │ │ │ │ ├── DuplicateRegisteredUriException.kt │ │ │ │ │ ├── BadAggregatableClassException.kt │ │ │ │ │ ├── BadTypeException.kt │ │ │ │ │ ├── BadPathOrVersionException.kt │ │ │ │ │ └── ParcelableNoCreatorException.kt │ │ │ │ └── identity │ │ │ │ └── exception │ │ │ │ ├── DuplicateContextException.kt │ │ │ │ ├── DuplicateComponentException.kt │ │ │ │ └── RIdentityNotFoundException.kt │ │ │ ├── res │ │ │ └── values │ │ │ │ └── strings.xml │ │ │ └── AndroidManifest.xml │ └── proguard-rules.pro ├── rubik_plugins │ └── src │ │ └── main │ │ ├── resources │ │ └── META-INF │ │ │ └── gradle-plugins │ │ │ ├── rubik.properties │ │ │ ├── rubik-shell.properties │ │ │ ├── rubik-analyst.properties │ │ │ └── rubik-context.properties │ │ └── java │ │ ├── ByVersion.kt │ │ └── com │ │ └── rubik │ │ └── plugins │ │ ├── shell │ │ └── checker │ │ │ ├── CheckClassesRule.kt │ │ │ ├── context │ │ │ ├── CheckContextVersionRule.kt │ │ │ └── CheckContextVersionTransform.kt │ │ │ └── router │ │ │ └── CheckRouterVersionTransform.kt │ │ └── basic │ │ ├── utility │ │ └── KotlinPoet.kt │ │ └── exception │ │ └── RubikException.kt ├── rubik_kapt │ └── src │ │ └── main │ │ └── java │ │ ├── com │ │ └── rubik │ │ │ └── apt │ │ │ ├── codebase │ │ │ ├── invoker │ │ │ │ ├── Instanceable.kt │ │ │ │ ├── OriginalInvokable.kt │ │ │ │ └── Callbackable.kt │ │ │ ├── activity │ │ │ │ └── ActivityPropertyCodeBase.kt │ │ │ └── AnnotationCodeBase.kt │ │ │ ├── utility │ │ │ └── FilePath.kt │ │ │ └── declare │ │ │ └── LeastContext.kt │ │ └── ByVersion.kt ├── rubik_annotations │ ├── src │ │ └── main │ │ │ └── java │ │ │ └── com │ │ │ └── rubik │ │ │ └── annotations │ │ │ └── route │ │ │ ├── function │ │ │ └── RDefaultType.java │ │ │ ├── RExtend.java │ │ │ └── RResult.java │ └── build.gradle ├── rubik_context │ └── src │ │ └── main │ │ └── java │ │ └── com │ │ └── rubik │ │ └── context │ │ ├── Dependency.kt │ │ ├── router │ │ └── RouterRegister.kt │ │ ├── publication │ │ ├── BuildType.kt │ │ └── LibType.kt │ │ ├── log │ │ └── LogTags.kt │ │ ├── Source.kt │ │ ├── MavenSource.kt │ │ ├── id │ │ └── LeastContext.kt │ │ ├── utility │ │ ├── Module.kt │ │ └── Uri.kt │ │ ├── folder │ │ ├── GeneratedSourceDir.kt │ │ ├── LibsTmpDir.kt │ │ └── ClassesTmpDir.kt │ │ ├── extra │ │ └── Injector.kt │ │ └── exception │ │ └── RubikPluginNotApplyException.kt ├── rubik_publish │ ├── src │ │ ├── main │ │ │ └── java │ │ │ │ ├── ByPluginVersion.kt │ │ │ │ └── com │ │ │ │ └── rubik │ │ │ │ └── publish │ │ │ │ ├── exception │ │ │ │ └── RubikPublishVersionNotSetException.kt │ │ │ │ ├── task │ │ │ │ ├── global │ │ │ │ │ ├── AllComponentTask.kt │ │ │ │ │ ├── AllContextLibsTask.kt │ │ │ │ │ ├── TagComponentTask.kt │ │ │ │ │ ├── TagContextLibsTask.kt │ │ │ │ │ ├── AllComponentAndContextLibsTask.kt │ │ │ │ │ └── TagComponentAndContextLibsTask.kt │ │ │ │ ├── both │ │ │ │ │ ├── VariantComponentAndContextLibsTaskGraphic.kt │ │ │ │ │ └── ComponentAndContextLibsTaskGraphic.kt │ │ │ │ ├── component │ │ │ │ │ └── ComponentTaskGraphic.kt │ │ │ │ └── target │ │ │ │ │ └── TaskTargetContainer.kt │ │ │ │ ├── publication │ │ │ │ └── Jar.kt │ │ │ │ └── log │ │ │ │ └── LogTags.kt │ │ ├── k1_5 │ │ │ └── java │ │ │ │ └── ResetKotlinCompileTask.kt │ │ └── k1_7 │ │ │ └── java │ │ │ └── ResetKotlinCompileTask.kt │ └── build.gradle ├── rubik_picker │ ├── src │ │ └── main │ │ │ └── java │ │ │ └── com │ │ │ └── rubik │ │ │ ├── pick │ │ │ └── Excepted.kt │ │ │ └── picker │ │ │ ├── log │ │ │ └── LogTags.kt │ │ │ ├── container │ │ │ └── ContextPickHowContainer.kt │ │ │ └── Picker.kt │ └── build.gradle ├── rubik_dsl │ ├── src │ │ └── main │ │ │ └── java │ │ │ └── com │ │ │ └── rubik │ │ │ └── dsl │ │ │ ├── global │ │ │ └── DSLGlobalContextConfig.kt │ │ │ ├── context │ │ │ ├── dependency │ │ │ │ └── DSLDependency.kt │ │ │ └── source │ │ │ │ └── DSLProjectSource.kt │ │ │ ├── packing │ │ │ └── DSLPackingNoSource.kt │ │ │ └── RDSL.java │ └── build.gradle └── rubik_maven_repositories.gradle ├── demo ├── demo_component_home │ ├── consumer-rules.pro │ ├── src │ │ └── main │ │ │ ├── res │ │ │ └── values │ │ │ │ └── strings.xml │ │ │ ├── java │ │ │ └── com │ │ │ │ └── mars │ │ │ │ └── component │ │ │ │ └── home │ │ │ │ ├── api │ │ │ │ └── TestOne.kt │ │ │ │ └── event │ │ │ │ └── Events.kt │ │ │ └── AndroidManifest.xml │ └── proguard-rules.pro ├── demo_component_detail │ ├── consumer-rules.pro │ ├── src │ │ └── main │ │ │ ├── res │ │ │ ├── values │ │ │ │ └── strings.xml │ │ │ └── layout │ │ │ │ └── activity_a1.xml │ │ │ ├── java │ │ │ └── com │ │ │ │ └── mars │ │ │ │ └── component │ │ │ │ └── detail │ │ │ │ ├── value │ │ │ │ ├── TestOriginalBean.kt │ │ │ │ ├── TestDataBean.kt │ │ │ │ ├── TestDataNotRValueBean.kt │ │ │ │ ├── TestNullableBean.kt │ │ │ │ ├── TestListBean.kt │ │ │ │ ├── TestCompanionBean.kt │ │ │ │ ├── mapping │ │ │ │ │ ├── TestDataMappingBean.kt │ │ │ │ │ └── TestNestDataMappingBean.kt │ │ │ │ ├── TestSerializableBean.kt │ │ │ │ └── TestCreateBean.kt │ │ │ │ ├── api │ │ │ │ ├── ApisExt.kt │ │ │ │ ├── AipsInTop.kt │ │ │ │ └── AipsInCompanion.kt │ │ │ │ ├── callback │ │ │ │ ├── CallbackTestDefault.kt │ │ │ │ └── CallbackTestInterface.kt │ │ │ │ ├── ui │ │ │ │ └── FirstPageFragment.kt │ │ │ │ ├── test │ │ │ │ └── TestDefaultPathTask.kt │ │ │ │ └── objekt │ │ │ │ └── ObjectTestCteate.kt │ │ │ └── AndroidManifest.xml │ └── proguard-rules.pro ├── demo_until_library_a │ ├── consumer-rules.pro │ ├── src │ │ └── main │ │ │ ├── java │ │ │ └── com │ │ │ │ └── mars │ │ │ │ └── util_library │ │ │ │ ├── TestLibDataBean.kt │ │ │ │ └── TestClassA.kt │ │ │ └── AndroidManifest.xml │ └── proguard-rules.pro ├── demo_until_library_b │ ├── consumer-rules.pro │ ├── src │ │ ├── testex │ │ │ └── java │ │ │ │ └── com │ │ │ │ └── x │ │ │ │ ├── Yx.java │ │ │ │ └── Xx.kt │ │ └── main │ │ │ ├── AndroidManifest.xml │ │ │ └── java │ │ │ └── com │ │ │ └── mars │ │ │ └── util_library │ │ │ └── TestClassB.kt │ └── proguard-rules.pro ├── demo_component_detail_java │ ├── consumer-rules.pro │ ├── src │ │ └── main │ │ │ ├── res │ │ │ ├── values │ │ │ │ └── strings.xml │ │ │ └── layout │ │ │ │ └── activity_d1.xml │ │ │ ├── java │ │ │ └── com │ │ │ │ └── mars │ │ │ │ └── component │ │ │ │ └── detail │ │ │ │ └── java │ │ │ │ ├── api │ │ │ │ ├── BaseApis.java │ │ │ │ ├── callback │ │ │ │ │ ├── Callbackable.java │ │ │ │ │ └── Callback.java │ │ │ │ ├── ApisForInstance.java │ │ │ │ ├── ApisAsyncReturn.java │ │ │ │ └── Apis.java │ │ │ │ └── value │ │ │ │ └── TestJavaBean.java │ │ │ └── AndroidManifest.xml │ └── proguard-rules.pro ├── demo_until_library_c_java │ ├── consumer-rules.pro │ ├── src │ │ └── main │ │ │ ├── java │ │ │ └── TestClassC.kt │ │ │ └── AndroidManifest.xml │ ├── proguard-rules.pro │ └── build.gradle ├── demo_root_app │ ├── src │ │ └── main │ │ │ ├── res │ │ │ ├── values │ │ │ │ ├── strings.xml │ │ │ │ ├── colors.xml │ │ │ │ └── styles.xml │ │ │ ├── mipmap-hdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-mdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-xhdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-xxhdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-xxxhdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ └── mipmap-anydpi-v26 │ │ │ │ ├── ic_launcher.xml │ │ │ │ └── ic_launcher_round.xml │ │ │ ├── java │ │ │ └── com │ │ │ │ └── baidu │ │ │ │ └── kcomponent │ │ │ │ └── MainApplication.kt │ │ │ └── AndroidManifest.xml │ └── proguard-rules.pro └── rubik-packing.gradle ├── Rubik1.10.0使用手册.pdf ├── rubik_maven_local_repository └── com │ ├── ktnail │ ├── x │ │ ├── maven-metadata.xml.md5 │ │ ├── 0.0.62-K1_5 │ │ │ ├── x-0.0.62-K1_5.jar.md5 │ │ │ ├── x-0.0.62-K1_5.jar.sha1 │ │ │ └── x-0.0.62-K1_5.jar │ │ ├── 0.0.67-K1_5 │ │ │ ├── x-0.0.67-K1_5.jar.md5 │ │ │ ├── x-0.0.67-K1_5.pom.md5 │ │ │ ├── x-0.0.67-K1_5.module.md5 │ │ │ ├── x-0.0.67-K1_5.jar.sha1 │ │ │ ├── x-0.0.67-K1_5.pom.sha1 │ │ │ ├── x-0.0.67-K1_5.module.sha1 │ │ │ ├── x-0.0.67-K1_5.jar.sha256 │ │ │ ├── x-0.0.67-K1_5.pom.sha256 │ │ │ ├── x-0.0.67-K1_5.module.sha256 │ │ │ ├── x-0.0.67-K1_5.jar │ │ │ ├── x-0.0.67-K1_5.jar.sha512 │ │ │ ├── x-0.0.67-K1_5.pom.sha512 │ │ │ └── x-0.0.67-K1_5.module.sha512 │ │ ├── maven-metadata.xml.sha1 │ │ ├── maven-metadata.xml.sha256 │ │ ├── maven-metadata.xml.sha512 │ │ └── maven-metadata.xml │ └── gradle │ │ ├── maven-metadata.xml.md5 │ │ ├── maven-metadata.xml.sha1 │ │ ├── 0.1.1-AGBT4_2-K1_5 │ │ ├── gradle-0.1.1-AGBT4_2-K1_5.jar.md5 │ │ ├── gradle-0.1.1-AGBT4_2-K1_5.pom.md5 │ │ ├── gradle-0.1.1-AGBT4_2-K1_5.module.md5 │ │ ├── gradle-0.1.1-AGBT4_2-K1_5.jar.sha1 │ │ ├── gradle-0.1.1-AGBT4_2-K1_5.module.sha1 │ │ ├── gradle-0.1.1-AGBT4_2-K1_5.pom.sha1 │ │ ├── gradle-0.1.1-AGBT4_2-K1_5.jar.sha256 │ │ ├── gradle-0.1.1-AGBT4_2-K1_5.pom.sha256 │ │ ├── gradle-0.1.1-AGBT4_2-K1_5.module.sha256 │ │ ├── gradle-0.1.1-AGBT4_2-K1_5.jar.sha512 │ │ ├── gradle-0.1.1-AGBT4_2-K1_5.module.sha512 │ │ ├── gradle-0.1.1-AGBT4_2-K1_5.pom.sha512 │ │ └── gradle-0.1.1-AGBT4_2-K1_5.jar │ │ ├── maven-metadata.xml.sha256 │ │ ├── maven-metadata.xml.sha512 │ │ └── maven-metadata.xml │ ├── rubik │ ├── dsl │ │ ├── maven-metadata.xml.md5 │ │ ├── maven-metadata.xml.sha1 │ │ ├── maven-metadata.xml.sha256 │ │ ├── 1.10.0.0-AGBT4_2-K1_5-LOCAL │ │ │ ├── dsl-1.10.0.0-AGBT4_2-K1_5-LOCAL.jar.md5 │ │ │ ├── dsl-1.10.0.0-AGBT4_2-K1_5-LOCAL.pom.md5 │ │ │ ├── dsl-1.10.0.0-AGBT4_2-K1_5-LOCAL.jar.sha1 │ │ │ ├── dsl-1.10.0.0-AGBT4_2-K1_5-LOCAL.pom.sha1 │ │ │ ├── dsl-1.10.0.0-AGBT4_2-K1_5-LOCAL.jar.sha256 │ │ │ ├── dsl-1.10.0.0-AGBT4_2-K1_5-LOCAL.pom.sha256 │ │ │ ├── dsl-1.10.0.0-AGBT4_2-K1_5-LOCAL.jar.sha512 │ │ │ ├── dsl-1.10.0.0-AGBT4_2-K1_5-LOCAL.pom.sha512 │ │ │ └── dsl-1.10.0.0-AGBT4_2-K1_5-LOCAL.jar │ │ ├── maven-metadata.xml.sha512 │ │ └── maven-metadata.xml │ ├── kapt │ │ ├── maven-metadata.xml.md5 │ │ ├── maven-metadata.xml.sha1 │ │ ├── 1.10.0.0-K1_5-LOCAL │ │ │ ├── kapt-1.10.0.0-K1_5-LOCAL.jar.md5 │ │ │ ├── kapt-1.10.0.0-K1_5-LOCAL.pom.md5 │ │ │ ├── kapt-1.10.0.0-K1_5-LOCAL.jar.sha1 │ │ │ ├── kapt-1.10.0.0-K1_5-LOCAL.pom.sha1 │ │ │ ├── kapt-1.10.0.0-K1_5-LOCAL.jar.sha256 │ │ │ ├── kapt-1.10.0.0-K1_5-LOCAL.pom.sha256 │ │ │ ├── kapt-1.10.0.0-K1_5-LOCAL.jar.sha512 │ │ │ ├── kapt-1.10.0.0-K1_5-LOCAL.pom.sha512 │ │ │ └── kapt-1.10.0.0-K1_5-LOCAL.jar │ │ ├── maven-metadata.xml.sha256 │ │ ├── maven-metadata.xml.sha512 │ │ └── maven-metadata.xml │ ├── context │ │ ├── maven-metadata.xml.md5 │ │ ├── maven-metadata.xml.sha1 │ │ ├── maven-metadata.xml.sha256 │ │ ├── 1.10.0.0-AGBT4_2-K1_5-LOCAL │ │ │ ├── context-1.10.0.0-AGBT4_2-K1_5-LOCAL.jar.md5 │ │ │ ├── context-1.10.0.0-AGBT4_2-K1_5-LOCAL.pom.md5 │ │ │ ├── context-1.10.0.0-AGBT4_2-K1_5-LOCAL.jar.sha1 │ │ │ ├── context-1.10.0.0-AGBT4_2-K1_5-LOCAL.pom.sha1 │ │ │ ├── context-1.10.0.0-AGBT4_2-K1_5-LOCAL.jar.sha256 │ │ │ ├── context-1.10.0.0-AGBT4_2-K1_5-LOCAL.pom.sha256 │ │ │ ├── context-1.10.0.0-AGBT4_2-K1_5-LOCAL.jar.sha512 │ │ │ ├── context-1.10.0.0-AGBT4_2-K1_5-LOCAL.pom.sha512 │ │ │ └── context-1.10.0.0-AGBT4_2-K1_5-LOCAL.jar │ │ ├── maven-metadata.xml.sha512 │ │ └── maven-metadata.xml │ ├── picker │ │ ├── maven-metadata.xml.md5 │ │ ├── maven-metadata.xml.sha1 │ │ ├── maven-metadata.xml.sha256 │ │ ├── 1.10.0.0-AGBT4_2-K1_5-LOCAL │ │ │ ├── picker-1.10.0.0-AGBT4_2-K1_5-LOCAL.jar.md5 │ │ │ ├── picker-1.10.0.0-AGBT4_2-K1_5-LOCAL.pom.md5 │ │ │ ├── picker-1.10.0.0-AGBT4_2-K1_5-LOCAL.jar.sha1 │ │ │ ├── picker-1.10.0.0-AGBT4_2-K1_5-LOCAL.pom.sha1 │ │ │ ├── picker-1.10.0.0-AGBT4_2-K1_5-LOCAL.jar.sha256 │ │ │ ├── picker-1.10.0.0-AGBT4_2-K1_5-LOCAL.pom.sha256 │ │ │ ├── picker-1.10.0.0-AGBT4_2-K1_5-LOCAL.jar.sha512 │ │ │ ├── picker-1.10.0.0-AGBT4_2-K1_5-LOCAL.pom.sha512 │ │ │ └── picker-1.10.0.0-AGBT4_2-K1_5-LOCAL.jar │ │ ├── maven-metadata.xml.sha512 │ │ └── maven-metadata.xml │ ├── plugins │ │ ├── maven-metadata.xml.md5 │ │ ├── maven-metadata.xml.sha1 │ │ ├── maven-metadata.xml.sha256 │ │ ├── 1.10.0.0-AGBT4_2-K1_5-LOCAL │ │ │ ├── plugins-1.10.0.0-AGBT4_2-K1_5-LOCAL.jar.md5 │ │ │ ├── plugins-1.10.0.0-AGBT4_2-K1_5-LOCAL.pom.md5 │ │ │ ├── plugins-1.10.0.0-AGBT4_2-K1_5-LOCAL.jar.sha1 │ │ │ ├── plugins-1.10.0.0-AGBT4_2-K1_5-LOCAL.pom.sha1 │ │ │ ├── plugins-1.10.0.0-AGBT4_2-K1_5-LOCAL.jar.sha256 │ │ │ ├── plugins-1.10.0.0-AGBT4_2-K1_5-LOCAL.pom.sha256 │ │ │ ├── plugins-1.10.0.0-AGBT4_2-K1_5-LOCAL.jar.sha512 │ │ │ ├── plugins-1.10.0.0-AGBT4_2-K1_5-LOCAL.pom.sha512 │ │ │ └── plugins-1.10.0.0-AGBT4_2-K1_5-LOCAL.jar │ │ ├── maven-metadata.xml.sha512 │ │ └── maven-metadata.xml │ ├── publish │ │ ├── maven-metadata.xml.md5 │ │ ├── maven-metadata.xml.sha1 │ │ ├── maven-metadata.xml.sha256 │ │ ├── 1.10.0.0-AGBT4_2-K1_5-LOCAL │ │ │ ├── publish-1.10.0.0-AGBT4_2-K1_5-LOCAL.jar.md5 │ │ │ ├── publish-1.10.0.0-AGBT4_2-K1_5-LOCAL.pom.md5 │ │ │ ├── publish-1.10.0.0-AGBT4_2-K1_5-LOCAL.jar.sha1 │ │ │ ├── publish-1.10.0.0-AGBT4_2-K1_5-LOCAL.pom.sha1 │ │ │ ├── publish-1.10.0.0-AGBT4_2-K1_5-LOCAL.jar.sha256 │ │ │ ├── publish-1.10.0.0-AGBT4_2-K1_5-LOCAL.pom.sha256 │ │ │ ├── publish-1.10.0.0-AGBT4_2-K1_5-LOCAL.jar.sha512 │ │ │ ├── publish-1.10.0.0-AGBT4_2-K1_5-LOCAL.pom.sha512 │ │ │ └── publish-1.10.0.0-AGBT4_2-K1_5-LOCAL.jar │ │ ├── maven-metadata.xml.sha512 │ │ └── maven-metadata.xml │ ├── router │ │ ├── maven-metadata.xml.md5 │ │ ├── maven-metadata.xml.sha1 │ │ ├── 1.10.0.0-K1_5-LOCAL │ │ │ ├── router-1.10.0.0-K1_5-LOCAL.jar.md5 │ │ │ ├── router-1.10.0.0-K1_5-LOCAL.pom.md5 │ │ │ ├── router-1.10.0.0-K1_5-LOCAL.jar.sha1 │ │ │ ├── router-1.10.0.0-K1_5-LOCAL.pom.sha1 │ │ │ ├── router-1.10.0.0-K1_5-LOCAL.jar.sha256 │ │ │ ├── router-1.10.0.0-K1_5-LOCAL.pom.sha256 │ │ │ ├── router-1.10.0.0-K1_5-LOCAL.jar.sha512 │ │ │ ├── router-1.10.0.0-K1_5-LOCAL.pom.sha512 │ │ │ └── router-1.10.0.0-K1_5-LOCAL.jar │ │ ├── maven-metadata.xml.sha256 │ │ ├── maven-metadata.xml.sha512 │ │ └── maven-metadata.xml │ └── annotations │ │ ├── maven-metadata.xml.md5 │ │ ├── maven-metadata.xml.sha1 │ │ ├── 1.10.0.0-LOCAL │ │ ├── annotations-1.10.0.0-LOCAL.jar.md5 │ │ ├── annotations-1.10.0.0-LOCAL.pom.md5 │ │ ├── annotations-1.10.0.0-LOCAL.jar.sha1 │ │ ├── annotations-1.10.0.0-LOCAL.pom.sha1 │ │ ├── annotations-1.10.0.0-LOCAL.jar.sha256 │ │ ├── annotations-1.10.0.0-LOCAL.pom.sha256 │ │ ├── annotations-1.10.0.0-LOCAL.jar.sha512 │ │ ├── annotations-1.10.0.0-LOCAL.pom.sha512 │ │ ├── annotations-1.10.0.0-LOCAL.jar │ │ └── annotations-1.10.0.0-LOCAL.pom │ │ ├── maven-metadata.xml.sha256 │ │ ├── maven-metadata.xml.sha512 │ │ └── maven-metadata.xml │ ├── synccode │ └── syncer │ │ ├── maven-metadata.xml.md5 │ │ ├── maven-metadata.xml.sha1 │ │ ├── 0.0.8-K1_5 │ │ ├── syncer-0.0.8-K1_5.jar.md5 │ │ ├── syncer-0.0.8-K1_5.pom.md5 │ │ ├── syncer-0.0.8-K1_5.module.md5 │ │ ├── syncer-0.0.8-K1_5.jar.sha1 │ │ ├── syncer-0.0.8-K1_5.pom.sha1 │ │ ├── syncer-0.0.8-K1_5.module.sha1 │ │ ├── syncer-0.0.8-K1_5.jar.sha256 │ │ ├── syncer-0.0.8-K1_5.pom.sha256 │ │ ├── syncer-0.0.8-K1_5.module.sha256 │ │ ├── syncer-0.0.8-K1_5.jar │ │ ├── syncer-0.0.8-K1_5.jar.sha512 │ │ ├── syncer-0.0.8-K1_5.pom.sha512 │ │ └── syncer-0.0.8-K1_5.module.sha512 │ │ ├── maven-metadata.xml.sha256 │ │ ├── maven-metadata.xml.sha512 │ │ └── maven-metadata.xml │ ├── kotlin │ └── blueprint │ │ ├── maven-metadata.xml.md5 │ │ ├── maven-metadata.xml.sha1 │ │ ├── 5.1.12-K1_5 │ │ ├── blueprint-5.1.12-K1_5.jar.md5 │ │ ├── blueprint-5.1.12-K1_5.jar.sha1 │ │ └── blueprint-5.1.12-K1_5.jar │ │ ├── maven-metadata.xml.sha256 │ │ ├── maven-metadata.xml.sha512 │ │ └── maven-metadata.xml │ └── mars │ └── rubik-test │ ├── detail-lib-context │ ├── maven-metadata.xml.md5 │ ├── maven-metadata.xml.sha1 │ ├── 0.0.1-DEV │ │ ├── detail-lib-context-0.0.1-DEV.jar.md5 │ │ ├── detail-lib-context-0.0.1-DEV.pom.md5 │ │ ├── detail-lib-context-0.0.1-DEV-sources.jar.md5 │ │ ├── detail-lib-context-0.0.1-DEV.jar.sha1 │ │ ├── detail-lib-context-0.0.1-DEV.pom.sha1 │ │ ├── detail-lib-context-0.0.1-DEV-sources.jar.sha1 │ │ ├── detail-lib-context-0.0.1-DEV.jar.sha256 │ │ ├── detail-lib-context-0.0.1-DEV.pom.sha256 │ │ ├── detail-lib-context-0.0.1-DEV-sources.jar.sha256 │ │ ├── detail-lib-context-0.0.1-DEV.jar.sha512 │ │ ├── detail-lib-context-0.0.1-DEV.pom.sha512 │ │ ├── detail-lib-context-0.0.1-DEV-sources.jar.sha512 │ │ ├── detail-lib-context-0.0.1-DEV.jar │ │ ├── detail-lib-context-0.0.1-DEV-sources.jar │ │ └── detail-lib-context-0.0.1-DEV.pom │ ├── maven-metadata.xml.sha256 │ ├── maven-metadata.xml.sha512 │ └── maven-metadata.xml │ ├── home-lib-context │ ├── maven-metadata.xml.md5 │ ├── maven-metadata.xml.sha1 │ ├── 0.0.1-DEV │ │ ├── home-lib-context-0.0.1-DEV.jar.md5 │ │ ├── home-lib-context-0.0.1-DEV.pom.md5 │ │ ├── home-lib-context-0.0.1-DEV-sources.jar.md5 │ │ ├── home-lib-context-0.0.1-DEV.jar.sha1 │ │ ├── home-lib-context-0.0.1-DEV.pom.sha1 │ │ ├── home-lib-context-0.0.1-DEV-sources.jar.sha1 │ │ ├── home-lib-context-0.0.1-DEV.jar.sha256 │ │ ├── home-lib-context-0.0.1-DEV.pom.sha256 │ │ ├── home-lib-context-0.0.1-DEV-sources.jar.sha256 │ │ ├── home-lib-context-0.0.1-DEV.jar.sha512 │ │ ├── home-lib-context-0.0.1-DEV.pom.sha512 │ │ ├── home-lib-context-0.0.1-DEV-sources.jar.sha512 │ │ ├── home-lib-context-0.0.1-DEV.jar │ │ ├── home-lib-context-0.0.1-DEV-sources.jar │ │ └── home-lib-context-0.0.1-DEV.pom │ ├── maven-metadata.xml.sha256 │ ├── maven-metadata.xml.sha512 │ └── maven-metadata.xml │ ├── detail-java-lib-context │ ├── maven-metadata.xml.md5 │ ├── maven-metadata.xml.sha1 │ ├── 0.0.1-DEV │ │ ├── detail-java-lib-context-0.0.1-DEV.jar.md5 │ │ ├── detail-java-lib-context-0.0.1-DEV.pom.md5 │ │ ├── detail-java-lib-context-0.0.1-DEV-sources.jar.md5 │ │ ├── detail-java-lib-context-0.0.1-DEV.jar.sha1 │ │ ├── detail-java-lib-context-0.0.1-DEV.pom.sha1 │ │ ├── detail-java-lib-context-0.0.1-DEV-sources.jar.sha1 │ │ ├── detail-java-lib-context-0.0.1-DEV.jar.sha256 │ │ ├── detail-java-lib-context-0.0.1-DEV.pom.sha256 │ │ ├── detail-java-lib-context-0.0.1-DEV-sources.jar.sha256 │ │ ├── detail-java-lib-context-0.0.1-DEV.jar.sha512 │ │ ├── detail-java-lib-context-0.0.1-DEV.pom.sha512 │ │ ├── detail-java-lib-context-0.0.1-DEV-sources.jar.sha512 │ │ ├── detail-java-lib-context-0.0.1-DEV.jar │ │ ├── detail-java-lib-context-0.0.1-DEV-sources.jar │ │ └── detail-java-lib-context-0.0.1-DEV.pom │ ├── maven-metadata.xml.sha256 │ ├── maven-metadata.xml.sha512 │ └── maven-metadata.xml │ ├── detail-java-component-release │ ├── maven-metadata.xml.md5 │ ├── maven-metadata.xml.sha1 │ ├── 0.0.1-DEV │ │ ├── detail-java-component-release-0.0.1-DEV.aar.md5 │ │ ├── detail-java-component-release-0.0.1-DEV.pom.md5 │ │ ├── detail-java-component-release-0.0.1-DEV.aar.sha1 │ │ ├── detail-java-component-release-0.0.1-DEV.pom.sha1 │ │ ├── detail-java-component-release-0.0.1-DEV.aar.sha256 │ │ ├── detail-java-component-release-0.0.1-DEV.pom.sha256 │ │ ├── detail-java-component-release-0.0.1-DEV.aar.sha512 │ │ ├── detail-java-component-release-0.0.1-DEV.pom.sha512 │ │ └── detail-java-component-release-0.0.1-DEV.aar │ ├── maven-metadata.xml.sha256 │ ├── maven-metadata.xml.sha512 │ └── maven-metadata.xml │ ├── detail-component-company1-channel1-release │ ├── maven-metadata.xml.md5 │ ├── maven-metadata.xml.sha1 │ ├── maven-metadata.xml.sha256 │ ├── 0.0.1-DEV │ │ ├── detail-component-company1-channel1-release-0.0.1-DEV.aar.md5 │ │ ├── detail-component-company1-channel1-release-0.0.1-DEV.pom.md5 │ │ ├── detail-component-company1-channel1-release-0.0.1-DEV.aar.sha1 │ │ ├── detail-component-company1-channel1-release-0.0.1-DEV.pom.sha1 │ │ ├── detail-component-company1-channel1-release-0.0.1-DEV.aar.sha256 │ │ ├── detail-component-company1-channel1-release-0.0.1-DEV.pom.sha256 │ │ ├── detail-component-company1-channel1-release-0.0.1-DEV.aar.sha512 │ │ ├── detail-component-company1-channel1-release-0.0.1-DEV.pom.sha512 │ │ └── detail-component-company1-channel1-release-0.0.1-DEV.aar │ ├── maven-metadata.xml.sha512 │ └── maven-metadata.xml │ └── detail-component-company1-channel2-release │ ├── maven-metadata.xml.md5 │ ├── maven-metadata.xml.sha1 │ ├── maven-metadata.xml.sha256 │ ├── 0.0.1-DEV │ ├── detail-component-company1-channel2-release-0.0.1-DEV.aar.md5 │ ├── detail-component-company1-channel2-release-0.0.1-DEV.pom.md5 │ ├── detail-component-company1-channel2-release-0.0.1-DEV.aar.sha1 │ ├── detail-component-company1-channel2-release-0.0.1-DEV.pom.sha1 │ ├── detail-component-company1-channel2-release-0.0.1-DEV.aar.sha256 │ ├── detail-component-company1-channel2-release-0.0.1-DEV.pom.sha256 │ ├── detail-component-company1-channel2-release-0.0.1-DEV.aar.sha512 │ ├── detail-component-company1-channel2-release-0.0.1-DEV.pom.sha512 │ └── detail-component-company1-channel2-release-0.0.1-DEV.aar │ ├── maven-metadata.xml.sha512 │ └── maven-metadata.xml ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── test_app ├── src │ ├── main │ │ ├── res │ │ │ ├── values │ │ │ │ ├── strings.xml │ │ │ │ ├── colors.xml │ │ │ │ └── styles.xml │ │ │ ├── mipmap-hdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-mdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-xhdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-xxhdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-xxxhdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-anydpi-v26 │ │ │ │ ├── ic_launcher.xml │ │ │ │ └── ic_launcher_round.xml │ │ │ └── layout │ │ │ │ └── activity_test.xml │ │ └── AndroidManifest.xml │ └── androidTest │ │ └── java │ │ └── com │ │ └── rubik │ │ └── test │ │ └── router │ │ ├── TestSimpleAggregateFactory.kt │ │ └── TestSimpleAggregate.kt └── proguard-rules.pro ├── rubik_libs_repository ├── demo_com_mars_rubik_test_home │ ├── context │ │ └── home-lib-context.jar │ └── context_sources │ │ └── home-lib-context-sources.jar ├── demo_com_mars_rubik_test_detail │ ├── context │ │ └── detail-lib-context.jar │ └── context_sources │ │ └── detail-lib-context-sources.jar ├── demo_com_mars_rubik_test_detail_java │ ├── context │ │ └── detail-java-lib-context.jar │ └── context_sources │ │ └── detail-java-lib-context-sources.jar └── rubik-demo_com_mars_rubik_test_home-publication-records.gradle ├── settings-rubik.gradle └── settings.gradle /rubik/rubik_router/consumer-rules.pro: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /demo/demo_component_home/consumer-rules.pro: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /demo/demo_component_detail/consumer-rules.pro: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /demo/demo_until_library_a/consumer-rules.pro: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /demo/demo_until_library_b/consumer-rules.pro: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /demo/demo_component_detail_java/consumer-rules.pro: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /demo/demo_until_library_c_java/consumer-rules.pro: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Rubik1.10.0使用手册.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baidu/Rubik/HEAD/Rubik1.10.0使用手册.pdf -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/ktnail/x/maven-metadata.xml.md5: -------------------------------------------------------------------------------- 1 | df5f0a4e621cea0185d539523c6d43d0 -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/rubik/dsl/maven-metadata.xml.md5: -------------------------------------------------------------------------------- 1 | b6c21229a61294d406852d0c0eec8b96 -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/rubik/kapt/maven-metadata.xml.md5: -------------------------------------------------------------------------------- 1 | 972b81e3a2c1347fd6da59233565de41 -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/ktnail/gradle/maven-metadata.xml.md5: -------------------------------------------------------------------------------- 1 | 6d98dee205be1c9b74d15961e71afd8a -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/rubik/context/maven-metadata.xml.md5: -------------------------------------------------------------------------------- 1 | dc8088d964e780631ba1d954c669be09 -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/rubik/picker/maven-metadata.xml.md5: -------------------------------------------------------------------------------- 1 | 3bbfa7b17af3948334e6f4f5bbfe4e8b -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/rubik/plugins/maven-metadata.xml.md5: -------------------------------------------------------------------------------- 1 | 1bba8378c5c923f0c46333bf8a6a6b5b -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/rubik/publish/maven-metadata.xml.md5: -------------------------------------------------------------------------------- 1 | 205fbc3e4f62fdb98e333b7c4294d919 -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/rubik/router/maven-metadata.xml.md5: -------------------------------------------------------------------------------- 1 | c6d226bec6c0248bc255e87bee7db22f -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/synccode/syncer/maven-metadata.xml.md5: -------------------------------------------------------------------------------- 1 | 15f80d58a7493cdf0d1ad7b6fa0b2314 -------------------------------------------------------------------------------- /demo/demo_until_library_b/src/testex/java/com/x/Yx.java: -------------------------------------------------------------------------------- 1 | package com.x; 2 | 3 | public class Yx { 4 | } 5 | -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/kotlin/blueprint/maven-metadata.xml.md5: -------------------------------------------------------------------------------- 1 | c14ccc45e05d86630e50a5ecf557535b -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/ktnail/x/0.0.62-K1_5/x-0.0.62-K1_5.jar.md5: -------------------------------------------------------------------------------- 1 | 3b0caafe31dade42c6b71ffd5d6fcfbb -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/ktnail/x/0.0.67-K1_5/x-0.0.67-K1_5.jar.md5: -------------------------------------------------------------------------------- 1 | 3b0caafe31dade42c6b71ffd5d6fcfbb -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/ktnail/x/0.0.67-K1_5/x-0.0.67-K1_5.pom.md5: -------------------------------------------------------------------------------- 1 | 2422c0d0b0bba1821e12585a29a34a1a -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/ktnail/x/maven-metadata.xml.sha1: -------------------------------------------------------------------------------- 1 | e32ee71258a9a8811d534dd01020d49e104c1000 -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/rubik/annotations/maven-metadata.xml.md5: -------------------------------------------------------------------------------- 1 | f6ab1d1cfb39b6bc2d3a61d4a4cd5915 -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/rubik/dsl/maven-metadata.xml.sha1: -------------------------------------------------------------------------------- 1 | acf36610ad0f40d902d4ab6d23e7f7effcbdb068 -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/rubik/kapt/maven-metadata.xml.sha1: -------------------------------------------------------------------------------- 1 | bb295c4b376e8f32b0a859537d2dff090948e6bb -------------------------------------------------------------------------------- /demo/demo_until_library_b/src/testex/java/com/x/Xx.kt: -------------------------------------------------------------------------------- 1 | package com.x 2 | 3 | class Xx { 4 | val a =13211 5 | } -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baidu/Rubik/HEAD/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/kotlin/blueprint/maven-metadata.xml.sha1: -------------------------------------------------------------------------------- 1 | 68d1be9300c16782da14a5eafad53ad9c1aed98a -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/ktnail/gradle/maven-metadata.xml.sha1: -------------------------------------------------------------------------------- 1 | 6afdc40a851493141638bedc4081a582335afe39 -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/ktnail/x/0.0.67-K1_5/x-0.0.67-K1_5.module.md5: -------------------------------------------------------------------------------- 1 | a6ae9b428f862e8551f1cb108c1728ee -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/rubik/context/maven-metadata.xml.sha1: -------------------------------------------------------------------------------- 1 | bae7f4ef943db12bc6432453cfc5f3bac9345408 -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/rubik/picker/maven-metadata.xml.sha1: -------------------------------------------------------------------------------- 1 | 60a5f6e8bffadb7e0f0883465f9b7dd4707d7354 -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/rubik/plugins/maven-metadata.xml.sha1: -------------------------------------------------------------------------------- 1 | 2d8d7c2ed16e4b21cc0dc9812bb46677156f8408 -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/rubik/publish/maven-metadata.xml.sha1: -------------------------------------------------------------------------------- 1 | 4a17e66d1951c1c8dd1f74924de39c29498e3125 -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/rubik/router/maven-metadata.xml.sha1: -------------------------------------------------------------------------------- 1 | 6cdde04fda4b4ac709a8cbb23f2fefa477198eed -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/synccode/syncer/maven-metadata.xml.sha1: -------------------------------------------------------------------------------- 1 | 98a0d3f9db0d9d6d10d4d647b1eadd25419a587a -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/ktnail/x/0.0.62-K1_5/x-0.0.62-K1_5.jar.sha1: -------------------------------------------------------------------------------- 1 | b6e41c6847450a6e847e342944792d21af7f966a -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/ktnail/x/0.0.67-K1_5/x-0.0.67-K1_5.jar.sha1: -------------------------------------------------------------------------------- 1 | b6e41c6847450a6e847e342944792d21af7f966a -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/ktnail/x/0.0.67-K1_5/x-0.0.67-K1_5.pom.sha1: -------------------------------------------------------------------------------- 1 | 7700f75533f7033226dc3a59a1ff9a6b487424fd -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/rubik/annotations/maven-metadata.xml.sha1: -------------------------------------------------------------------------------- 1 | eb20c9a2e5c62e3477c698be671018cd1aaabcb8 -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/synccode/syncer/0.0.8-K1_5/syncer-0.0.8-K1_5.jar.md5: -------------------------------------------------------------------------------- 1 | e8f819ae4c533db083cc0fc6cd853d02 -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/synccode/syncer/0.0.8-K1_5/syncer-0.0.8-K1_5.pom.md5: -------------------------------------------------------------------------------- 1 | 9e0a38cc4690e69e1e27fc145a630999 -------------------------------------------------------------------------------- /rubik/rubik_router/src/main/java/com/rubik/context/RouteActions.kt: -------------------------------------------------------------------------------- 1 | package com.rubik.context 2 | 3 | interface RouteActions -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/kotlin/blueprint/5.1.12-K1_5/blueprint-5.1.12-K1_5.jar.md5: -------------------------------------------------------------------------------- 1 | 71d09418d596ef43c757569e6c0dfdf8 -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/ktnail/x/0.0.67-K1_5/x-0.0.67-K1_5.module.sha1: -------------------------------------------------------------------------------- 1 | e80c6acf393c2f43b38127733538e0a2cc788bda -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/mars/rubik-test/detail-lib-context/maven-metadata.xml.md5: -------------------------------------------------------------------------------- 1 | 606fd94a671757dff1a5a6ef2b959205 -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/mars/rubik-test/home-lib-context/maven-metadata.xml.md5: -------------------------------------------------------------------------------- 1 | b2dd05cb24aff0db53fde71365454fd6 -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/synccode/syncer/0.0.8-K1_5/syncer-0.0.8-K1_5.module.md5: -------------------------------------------------------------------------------- 1 | 812c793dfe366386493230baa49a322b -------------------------------------------------------------------------------- /test_app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | TEST_APP 3 | 4 | -------------------------------------------------------------------------------- /rubik/rubik_plugins/src/main/resources/META-INF/gradle-plugins/rubik.properties: -------------------------------------------------------------------------------- 1 | implementation-class=com.rubik.plugins.MainPlugin -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/mars/rubik-test/detail-java-lib-context/maven-metadata.xml.md5: -------------------------------------------------------------------------------- 1 | 66e44429e3f65d39bee166464d9256fa -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/rubik/kapt/1.10.0.0-K1_5-LOCAL/kapt-1.10.0.0-K1_5-LOCAL.jar.md5: -------------------------------------------------------------------------------- 1 | afd9b6eefc328aae97ee09137b8d2129 -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/rubik/kapt/1.10.0.0-K1_5-LOCAL/kapt-1.10.0.0-K1_5-LOCAL.pom.md5: -------------------------------------------------------------------------------- 1 | 970a558dead1383558d5663bc59befc8 -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/synccode/syncer/0.0.8-K1_5/syncer-0.0.8-K1_5.jar.sha1: -------------------------------------------------------------------------------- 1 | 8f334171759c3d4c836689e3414fe97eda6707eb -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/synccode/syncer/0.0.8-K1_5/syncer-0.0.8-K1_5.pom.sha1: -------------------------------------------------------------------------------- 1 | 715574925bcb26e113412bbae1f0dcdb001158ea -------------------------------------------------------------------------------- /rubik/rubik_router/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | Rubik 3 | 4 | -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/kotlin/blueprint/5.1.12-K1_5/blueprint-5.1.12-K1_5.jar.sha1: -------------------------------------------------------------------------------- 1 | 42c7fc93fa1fbcf9ba8b5a434c01215060d10cb1 -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/ktnail/gradle/0.1.1-AGBT4_2-K1_5/gradle-0.1.1-AGBT4_2-K1_5.jar.md5: -------------------------------------------------------------------------------- 1 | 0dc2e325b09d299162be1611ce90684e -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/ktnail/gradle/0.1.1-AGBT4_2-K1_5/gradle-0.1.1-AGBT4_2-K1_5.pom.md5: -------------------------------------------------------------------------------- 1 | 6f4373e44ac1c8c6b7e92a3dbc067229 -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/ktnail/x/maven-metadata.xml.sha256: -------------------------------------------------------------------------------- 1 | 6120a0b666f0dc874a9d18bf3c77b483c246f396028314ac3d15ef6fa3301fe9 -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/mars/rubik-test/detail-java-component-release/maven-metadata.xml.md5: -------------------------------------------------------------------------------- 1 | f58703fba1792ed5c4ebfad5ba6bcd9e -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/mars/rubik-test/detail-lib-context/maven-metadata.xml.sha1: -------------------------------------------------------------------------------- 1 | 3f90114e82e05adfdeeb1e72393b8aaa5c3c7f57 -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/mars/rubik-test/home-lib-context/maven-metadata.xml.sha1: -------------------------------------------------------------------------------- 1 | 4fc5cb6d142b8bac9af1669efb99bdc96f778ec9 -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/rubik/annotations/1.10.0.0-LOCAL/annotations-1.10.0.0-LOCAL.jar.md5: -------------------------------------------------------------------------------- 1 | d2accde5a09a24421c408c3638ad8150 -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/rubik/annotations/1.10.0.0-LOCAL/annotations-1.10.0.0-LOCAL.pom.md5: -------------------------------------------------------------------------------- 1 | 2230a968a2ad585b3e85f51d9eb0d2ad -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/rubik/dsl/maven-metadata.xml.sha256: -------------------------------------------------------------------------------- 1 | 12348433a24ebec487e08a2a10918c1a3ed520a208e55258eb8b53ac19c0b9d0 -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/rubik/kapt/maven-metadata.xml.sha256: -------------------------------------------------------------------------------- 1 | 910e9d43a34b0a427ce69f29f6d32e49da3b186613bd8b19a25232c69f504510 -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/rubik/router/1.10.0.0-K1_5-LOCAL/router-1.10.0.0-K1_5-LOCAL.jar.md5: -------------------------------------------------------------------------------- 1 | ac2d272e2f49a9fdd8a6b73efd03c7a4 -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/rubik/router/1.10.0.0-K1_5-LOCAL/router-1.10.0.0-K1_5-LOCAL.pom.md5: -------------------------------------------------------------------------------- 1 | ffa6b41dd86652982396ec8d6d1d6e07 -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/synccode/syncer/0.0.8-K1_5/syncer-0.0.8-K1_5.module.sha1: -------------------------------------------------------------------------------- 1 | 8027e3a61ca054bda6f035e2ed1e912c77ff7d7d -------------------------------------------------------------------------------- /demo/demo_root_app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | RUBIK_DEMO 3 | 4 | -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/ktnail/gradle/0.1.1-AGBT4_2-K1_5/gradle-0.1.1-AGBT4_2-K1_5.module.md5: -------------------------------------------------------------------------------- 1 | 6789e5b8622ee4b34e04484379893d6a -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/ktnail/gradle/maven-metadata.xml.sha256: -------------------------------------------------------------------------------- 1 | 55bbf20c20e48661d3bbfd4d856922b2caf0cc35bdf786d642351258d3cdf998 -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/mars/rubik-test/detail-java-lib-context/maven-metadata.xml.sha1: -------------------------------------------------------------------------------- 1 | 4d41c5bab4659e640a760c1a4ca6f8a8ba4f6726 -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/rubik/context/maven-metadata.xml.sha256: -------------------------------------------------------------------------------- 1 | d102d02c7415f425f5879db6dd8fc19439c37897558315b60a7203c30b2cf243 -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/rubik/kapt/1.10.0.0-K1_5-LOCAL/kapt-1.10.0.0-K1_5-LOCAL.jar.sha1: -------------------------------------------------------------------------------- 1 | d6149eccedecfef845f8f1d130adce0d163a9e5a -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/rubik/kapt/1.10.0.0-K1_5-LOCAL/kapt-1.10.0.0-K1_5-LOCAL.pom.sha1: -------------------------------------------------------------------------------- 1 | bb384770650b086636836c7dc56c780d04d3ec54 -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/rubik/picker/maven-metadata.xml.sha256: -------------------------------------------------------------------------------- 1 | 3912cd02339dbaf36c8d1638fc29983c286d83914828617d95269cb51f38c6a0 -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/rubik/plugins/maven-metadata.xml.sha256: -------------------------------------------------------------------------------- 1 | 9b87086f4d985815055df2eb754dc120a61fe13841736f3191d06b2379b4fcd4 -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/rubik/publish/maven-metadata.xml.sha256: -------------------------------------------------------------------------------- 1 | 9bc1e375345069fd994b3127a168520659a803fddfd18f4b615d78b277e1499c -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/rubik/router/maven-metadata.xml.sha256: -------------------------------------------------------------------------------- 1 | 5e1b7347fbe165f1271f5e85c76441594b50be0ff6ddc9657c99afc8ca015d9b -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/synccode/syncer/maven-metadata.xml.sha256: -------------------------------------------------------------------------------- 1 | dc076e595d447265afaf5453051a2ed9c80f82a84c9882e1e715cd3d893a6a02 -------------------------------------------------------------------------------- /demo/demo_component_detail/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | ComponentA 3 | 4 | -------------------------------------------------------------------------------- /demo/demo_component_home/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | ComponentB 3 | 4 | -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/kotlin/blueprint/maven-metadata.xml.sha256: -------------------------------------------------------------------------------- 1 | 94767394a621e9652add856d0290ede015bd5ee9caaac21a4234d5cff222f597 -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/ktnail/gradle/0.1.1-AGBT4_2-K1_5/gradle-0.1.1-AGBT4_2-K1_5.jar.sha1: -------------------------------------------------------------------------------- 1 | b2fa9b1fc44540716e10804b5821c18344d032f4 -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/ktnail/gradle/0.1.1-AGBT4_2-K1_5/gradle-0.1.1-AGBT4_2-K1_5.module.sha1: -------------------------------------------------------------------------------- 1 | ed72584c161fc83a2a4044ffb15b6a54ceecf52a -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/ktnail/gradle/0.1.1-AGBT4_2-K1_5/gradle-0.1.1-AGBT4_2-K1_5.pom.sha1: -------------------------------------------------------------------------------- 1 | fa59edf5b9929d998dd185f41c4157e06fed361c -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/ktnail/x/0.0.67-K1_5/x-0.0.67-K1_5.jar.sha256: -------------------------------------------------------------------------------- 1 | 50a5c532429bd3f11119ad612b1f1ef2734ce953d07f5f9271215b4de7ba060c -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/ktnail/x/0.0.67-K1_5/x-0.0.67-K1_5.pom.sha256: -------------------------------------------------------------------------------- 1 | b01aaa79d8ad50f87689d934d685109099872303a4cd14f33574d9125ee40923 -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/mars/rubik-test/detail-java-component-release/maven-metadata.xml.sha1: -------------------------------------------------------------------------------- 1 | 646980692a8917fd2bdbf9bde3468c5634bd717b -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/mars/rubik-test/home-lib-context/0.0.1-DEV/home-lib-context-0.0.1-DEV.jar.md5: -------------------------------------------------------------------------------- 1 | 02de7db65bc1b30e153abc0f72b4c7da -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/mars/rubik-test/home-lib-context/0.0.1-DEV/home-lib-context-0.0.1-DEV.pom.md5: -------------------------------------------------------------------------------- 1 | 9888ab1764e0a411dc72fd1eada26104 -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/rubik/annotations/1.10.0.0-LOCAL/annotations-1.10.0.0-LOCAL.jar.sha1: -------------------------------------------------------------------------------- 1 | 718509cbb1d0e973845606da3a09f150e7466d1b -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/rubik/annotations/1.10.0.0-LOCAL/annotations-1.10.0.0-LOCAL.pom.sha1: -------------------------------------------------------------------------------- 1 | a59078e44dfad28f59be1ca6447ba3ca35918ce8 -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/rubik/annotations/maven-metadata.xml.sha256: -------------------------------------------------------------------------------- 1 | 9881acc4b6ec7c4b32e9a61aa1c20eb21ef3fdd93f450fc1c3e09dc119095d9f -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/rubik/dsl/1.10.0.0-AGBT4_2-K1_5-LOCAL/dsl-1.10.0.0-AGBT4_2-K1_5-LOCAL.jar.md5: -------------------------------------------------------------------------------- 1 | bd6c7851c7b41fef197ed3c8db3da31e -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/rubik/dsl/1.10.0.0-AGBT4_2-K1_5-LOCAL/dsl-1.10.0.0-AGBT4_2-K1_5-LOCAL.pom.md5: -------------------------------------------------------------------------------- 1 | 97a48cf97d2f756942c568ff72bf5d35 -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/rubik/router/1.10.0.0-K1_5-LOCAL/router-1.10.0.0-K1_5-LOCAL.jar.sha1: -------------------------------------------------------------------------------- 1 | e8bd16782c0295b04d3a45f61aa19cf0a56809f7 -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/rubik/router/1.10.0.0-K1_5-LOCAL/router-1.10.0.0-K1_5-LOCAL.pom.sha1: -------------------------------------------------------------------------------- 1 | c24482cdc38142543cf41256e9ea77127a59fc1c -------------------------------------------------------------------------------- /demo/demo_component_detail_java/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | ComponentD 3 | 4 | -------------------------------------------------------------------------------- /rubik/rubik_plugins/src/main/resources/META-INF/gradle-plugins/rubik-shell.properties: -------------------------------------------------------------------------------- 1 | implementation-class=com.rubik.plugins.shell.ShellPlugin 2 | -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/ktnail/x/0.0.67-K1_5/x-0.0.67-K1_5.module.sha256: -------------------------------------------------------------------------------- 1 | dcc030877ab4eb4d296dca40277820c502301f479b2778a248a3b91ac96d9dab -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/mars/rubik-test/detail-component-company1-channel1-release/maven-metadata.xml.md5: -------------------------------------------------------------------------------- 1 | 128e46fbe75ee2daa75bdfc6c564f7b8 -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/mars/rubik-test/detail-component-company1-channel2-release/maven-metadata.xml.md5: -------------------------------------------------------------------------------- 1 | 0f3d7075c0ef8a20990b8a666152240d -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/mars/rubik-test/detail-lib-context/0.0.1-DEV/detail-lib-context-0.0.1-DEV.jar.md5: -------------------------------------------------------------------------------- 1 | 9b9ef78d70f1ab5b8870502b53ae1992 -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/mars/rubik-test/detail-lib-context/0.0.1-DEV/detail-lib-context-0.0.1-DEV.pom.md5: -------------------------------------------------------------------------------- 1 | d355fcf8b06d0ab979acf515826679f9 -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/rubik/picker/1.10.0.0-AGBT4_2-K1_5-LOCAL/picker-1.10.0.0-AGBT4_2-K1_5-LOCAL.jar.md5: -------------------------------------------------------------------------------- 1 | c1736231c37e6fde542e6a5a8a98f26b -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/rubik/picker/1.10.0.0-AGBT4_2-K1_5-LOCAL/picker-1.10.0.0-AGBT4_2-K1_5-LOCAL.pom.md5: -------------------------------------------------------------------------------- 1 | 9ff88f9a52619ce404580b7bb850971d -------------------------------------------------------------------------------- /test_app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baidu/Rubik/HEAD/test_app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /test_app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baidu/Rubik/HEAD/test_app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /test_app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baidu/Rubik/HEAD/test_app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /rubik/rubik_kapt/src/main/java/com/rubik/apt/codebase/invoker/Instanceable.kt: -------------------------------------------------------------------------------- 1 | package com.rubik.apt.codebase.invoker 2 | 3 | interface Instanceable 4 | -------------------------------------------------------------------------------- /rubik/rubik_plugins/src/main/resources/META-INF/gradle-plugins/rubik-analyst.properties: -------------------------------------------------------------------------------- 1 | implementation-class=com.rubik.plugins.analyst.AnalystPlugin 2 | -------------------------------------------------------------------------------- /rubik/rubik_plugins/src/main/resources/META-INF/gradle-plugins/rubik-context.properties: -------------------------------------------------------------------------------- 1 | implementation-class=com.rubik.plugins.context.ContextPlugin 2 | -------------------------------------------------------------------------------- /rubik/rubik_router/src/main/java/com/rubik/router/annotations/RInvariant.kt: -------------------------------------------------------------------------------- 1 | package com.rubik.router.annotations 2 | 3 | annotation class RInvariant 4 | -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/mars/rubik-test/home-lib-context/0.0.1-DEV/home-lib-context-0.0.1-DEV-sources.jar.md5: -------------------------------------------------------------------------------- 1 | 09cc3cdfe34abeb6e7e4c1583f0e7671 -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/mars/rubik-test/home-lib-context/0.0.1-DEV/home-lib-context-0.0.1-DEV.jar.sha1: -------------------------------------------------------------------------------- 1 | b6cd75c9fe9acbcb952c0308a736daaf054a95c6 -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/mars/rubik-test/home-lib-context/0.0.1-DEV/home-lib-context-0.0.1-DEV.pom.sha1: -------------------------------------------------------------------------------- 1 | fd11524d52c1697f0179b4552bbe856310bd838a -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/rubik/context/1.10.0.0-AGBT4_2-K1_5-LOCAL/context-1.10.0.0-AGBT4_2-K1_5-LOCAL.jar.md5: -------------------------------------------------------------------------------- 1 | 699d173ea4fbc1f9f36d049c584166fd -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/rubik/context/1.10.0.0-AGBT4_2-K1_5-LOCAL/context-1.10.0.0-AGBT4_2-K1_5-LOCAL.pom.md5: -------------------------------------------------------------------------------- 1 | 161292b29fbc7b9471fd89db6cc22fbd -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/rubik/dsl/1.10.0.0-AGBT4_2-K1_5-LOCAL/dsl-1.10.0.0-AGBT4_2-K1_5-LOCAL.jar.sha1: -------------------------------------------------------------------------------- 1 | 88afb65095ac5d172d0d997b5bc59cd999f6c343 -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/rubik/dsl/1.10.0.0-AGBT4_2-K1_5-LOCAL/dsl-1.10.0.0-AGBT4_2-K1_5-LOCAL.pom.sha1: -------------------------------------------------------------------------------- 1 | d693d8e02b2f867b594a91e627fded97ab13ac3c -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/rubik/plugins/1.10.0.0-AGBT4_2-K1_5-LOCAL/plugins-1.10.0.0-AGBT4_2-K1_5-LOCAL.jar.md5: -------------------------------------------------------------------------------- 1 | c578b62e4982fab19e52033c7d2f6f15 -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/rubik/plugins/1.10.0.0-AGBT4_2-K1_5-LOCAL/plugins-1.10.0.0-AGBT4_2-K1_5-LOCAL.pom.md5: -------------------------------------------------------------------------------- 1 | 1fe93b88a65fd08410fa37cbe0c77ee1 -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/rubik/publish/1.10.0.0-AGBT4_2-K1_5-LOCAL/publish-1.10.0.0-AGBT4_2-K1_5-LOCAL.jar.md5: -------------------------------------------------------------------------------- 1 | c2c66b4678c7bdc21b0aa251ffc130d8 -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/rubik/publish/1.10.0.0-AGBT4_2-K1_5-LOCAL/publish-1.10.0.0-AGBT4_2-K1_5-LOCAL.pom.md5: -------------------------------------------------------------------------------- 1 | 67273a5ee1a9bd20e8b043ee8793cd0b -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/synccode/syncer/0.0.8-K1_5/syncer-0.0.8-K1_5.jar.sha256: -------------------------------------------------------------------------------- 1 | 32ad4a4e86ba797ac3893e335ca7516363b786c83c2c9ec86098036411bccf87 -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/synccode/syncer/0.0.8-K1_5/syncer-0.0.8-K1_5.pom.sha256: -------------------------------------------------------------------------------- 1 | 07e83f961bee8d04c9f147e6648bc9a698e364fa5a0a6aa3055cd195ee65fa21 -------------------------------------------------------------------------------- /test_app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baidu/Rubik/HEAD/test_app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /test_app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baidu/Rubik/HEAD/test_app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /rubik/rubik_router/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/mars/rubik-test/detail-component-company1-channel1-release/maven-metadata.xml.sha1: -------------------------------------------------------------------------------- 1 | d2f76b03697dc047f686e750b1f4aee0057b6df9 -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/mars/rubik-test/detail-component-company1-channel2-release/maven-metadata.xml.sha1: -------------------------------------------------------------------------------- 1 | 5b98564b6b49f20df8dbf45290b3e2c13ddade98 -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/mars/rubik-test/detail-java-lib-context/0.0.1-DEV/detail-java-lib-context-0.0.1-DEV.jar.md5: -------------------------------------------------------------------------------- 1 | b05aa499028a1320419bf0c277cfdb21 -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/mars/rubik-test/detail-java-lib-context/0.0.1-DEV/detail-java-lib-context-0.0.1-DEV.pom.md5: -------------------------------------------------------------------------------- 1 | 0357bdb9dfc1f442ed5adf577955b043 -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/mars/rubik-test/detail-lib-context/0.0.1-DEV/detail-lib-context-0.0.1-DEV-sources.jar.md5: -------------------------------------------------------------------------------- 1 | 3c37a15035196161ec621fd36c73b7c7 -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/mars/rubik-test/detail-lib-context/0.0.1-DEV/detail-lib-context-0.0.1-DEV.jar.sha1: -------------------------------------------------------------------------------- 1 | 749aea2ac298a604380ba1dfd781bbc546a8c13e -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/mars/rubik-test/detail-lib-context/0.0.1-DEV/detail-lib-context-0.0.1-DEV.pom.sha1: -------------------------------------------------------------------------------- 1 | b9e4becf8366414246a84665ec70b4af55b1595b -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/mars/rubik-test/detail-lib-context/maven-metadata.xml.sha256: -------------------------------------------------------------------------------- 1 | 2c4c04f6702b7089594c336d62730f786a36c09348ded294014699c7c2c2db51 -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/mars/rubik-test/home-lib-context/maven-metadata.xml.sha256: -------------------------------------------------------------------------------- 1 | 173841cd65da78385daae43e58acbf51b8fcf12bfbfd5fdd0b95bebeb721cc22 -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/rubik/picker/1.10.0.0-AGBT4_2-K1_5-LOCAL/picker-1.10.0.0-AGBT4_2-K1_5-LOCAL.jar.sha1: -------------------------------------------------------------------------------- 1 | ec9a98df8797deb0bd8335561a7de4744c8f9488 -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/rubik/picker/1.10.0.0-AGBT4_2-K1_5-LOCAL/picker-1.10.0.0-AGBT4_2-K1_5-LOCAL.pom.sha1: -------------------------------------------------------------------------------- 1 | fa7611efd96777d9202964d36b4ae769dc103359 -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/synccode/syncer/0.0.8-K1_5/syncer-0.0.8-K1_5.module.sha256: -------------------------------------------------------------------------------- 1 | 6cc8a102525a50c511adee94fa8819ccbf089537c23c5f5322d3ad9b23e6a53b -------------------------------------------------------------------------------- /test_app/src/main/res/mipmap-hdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baidu/Rubik/HEAD/test_app/src/main/res/mipmap-hdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /test_app/src/main/res/mipmap-mdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baidu/Rubik/HEAD/test_app/src/main/res/mipmap-mdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/mars/rubik-test/detail-java-lib-context/maven-metadata.xml.sha256: -------------------------------------------------------------------------------- 1 | dc81d6f5fb7f6d80ca7ee28016ec722901e5c4d5d763b1b340104c77ea53d3f6 -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/mars/rubik-test/detail-lib-context/0.0.1-DEV/detail-lib-context-0.0.1-DEV-sources.jar.sha1: -------------------------------------------------------------------------------- 1 | ab6194c9c9135ce9dc9647c1dc2bd4dd774cad1c -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/mars/rubik-test/home-lib-context/0.0.1-DEV/home-lib-context-0.0.1-DEV-sources.jar.sha1: -------------------------------------------------------------------------------- 1 | 77f64d5c90ac64cc2400e0363e2a309b28576c4c -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/rubik/context/1.10.0.0-AGBT4_2-K1_5-LOCAL/context-1.10.0.0-AGBT4_2-K1_5-LOCAL.jar.sha1: -------------------------------------------------------------------------------- 1 | c4140dc7ad64740cdc219436c4db0684a2c29be3 -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/rubik/context/1.10.0.0-AGBT4_2-K1_5-LOCAL/context-1.10.0.0-AGBT4_2-K1_5-LOCAL.pom.sha1: -------------------------------------------------------------------------------- 1 | a07f30a63443c3649771ecd356646cf1f0108e87 -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/rubik/kapt/1.10.0.0-K1_5-LOCAL/kapt-1.10.0.0-K1_5-LOCAL.jar.sha256: -------------------------------------------------------------------------------- 1 | da8ad2bb93c241369595939d37ec123169d87572585cd5783d379875b74db872 -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/rubik/kapt/1.10.0.0-K1_5-LOCAL/kapt-1.10.0.0-K1_5-LOCAL.pom.sha256: -------------------------------------------------------------------------------- 1 | e7d91a15b1259d3c8e7233a756965551a72af9248c48a1ef7530556ea5d8198d -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/rubik/plugins/1.10.0.0-AGBT4_2-K1_5-LOCAL/plugins-1.10.0.0-AGBT4_2-K1_5-LOCAL.jar.sha1: -------------------------------------------------------------------------------- 1 | 8b1355dee7d311c0290b4307bdb807e438df35ab -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/rubik/plugins/1.10.0.0-AGBT4_2-K1_5-LOCAL/plugins-1.10.0.0-AGBT4_2-K1_5-LOCAL.pom.sha1: -------------------------------------------------------------------------------- 1 | 017c4ec44ca778e502f2fac10339587b066586de -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/rubik/publish/1.10.0.0-AGBT4_2-K1_5-LOCAL/publish-1.10.0.0-AGBT4_2-K1_5-LOCAL.jar.sha1: -------------------------------------------------------------------------------- 1 | 0edf553c8ff4b82d0dbb257e4bd315d9fb336d1d -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/rubik/publish/1.10.0.0-AGBT4_2-K1_5-LOCAL/publish-1.10.0.0-AGBT4_2-K1_5-LOCAL.pom.sha1: -------------------------------------------------------------------------------- 1 | effc27df59f6a279b8a6e92499f51bf6756d2f75 -------------------------------------------------------------------------------- /test_app/src/main/res/mipmap-xhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baidu/Rubik/HEAD/test_app/src/main/res/mipmap-xhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /test_app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baidu/Rubik/HEAD/test_app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /test_app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baidu/Rubik/HEAD/test_app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /demo/demo_root_app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baidu/Rubik/HEAD/demo/demo_root_app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /demo/demo_root_app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baidu/Rubik/HEAD/demo/demo_root_app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /demo/demo_root_app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baidu/Rubik/HEAD/demo/demo_root_app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/ktnail/gradle/0.1.1-AGBT4_2-K1_5/gradle-0.1.1-AGBT4_2-K1_5.jar.sha256: -------------------------------------------------------------------------------- 1 | 1dff1a8d8d29aeef1b2e2001eaec3ccfdf706edc66cc6f999af82f0299fef8c7 -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/ktnail/gradle/0.1.1-AGBT4_2-K1_5/gradle-0.1.1-AGBT4_2-K1_5.pom.sha256: -------------------------------------------------------------------------------- 1 | 2087e0dc5f5cc93a9779f3efb082716cbe771c8341622366ac6ed2fb51b2b367 -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/mars/rubik-test/detail-java-component-release/0.0.1-DEV/detail-java-component-release-0.0.1-DEV.aar.md5: -------------------------------------------------------------------------------- 1 | b369e0e326513312454fadcf2bff7571 -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/mars/rubik-test/detail-java-component-release/0.0.1-DEV/detail-java-component-release-0.0.1-DEV.pom.md5: -------------------------------------------------------------------------------- 1 | 3d357ffcdd7cf03c115080ae1d46a349 -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/mars/rubik-test/detail-java-component-release/maven-metadata.xml.sha256: -------------------------------------------------------------------------------- 1 | 300e572f949609144b23fceb3401e4823af01cc16d685a1f3be2f016f3b326ca -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/mars/rubik-test/detail-java-lib-context/0.0.1-DEV/detail-java-lib-context-0.0.1-DEV-sources.jar.md5: -------------------------------------------------------------------------------- 1 | 7a884e65f1b8a176ad1985645e900230 -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/mars/rubik-test/detail-java-lib-context/0.0.1-DEV/detail-java-lib-context-0.0.1-DEV.jar.sha1: -------------------------------------------------------------------------------- 1 | da9501354ac5e935184d27363f062cd4c380abf9 -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/mars/rubik-test/detail-java-lib-context/0.0.1-DEV/detail-java-lib-context-0.0.1-DEV.pom.sha1: -------------------------------------------------------------------------------- 1 | 89ba521ec7a6923cea40b47ad42d25d488847599 -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/rubik/annotations/1.10.0.0-LOCAL/annotations-1.10.0.0-LOCAL.jar.sha256: -------------------------------------------------------------------------------- 1 | 3a28f78f538d1d397d8627dc2df838d20bc22364c18c1d6645abac970feee80e -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/rubik/annotations/1.10.0.0-LOCAL/annotations-1.10.0.0-LOCAL.pom.sha256: -------------------------------------------------------------------------------- 1 | 446862c5f0a02fbf8d045581ea4564c6383d0fd8c109e6e1211d85cc5f2b7e1e -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/rubik/router/1.10.0.0-K1_5-LOCAL/router-1.10.0.0-K1_5-LOCAL.jar.sha256: -------------------------------------------------------------------------------- 1 | ace9360c21916b8aa100fbeb55a510038ca100c9f78e4b45f2b5245db862aed7 -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/rubik/router/1.10.0.0-K1_5-LOCAL/router-1.10.0.0-K1_5-LOCAL.pom.sha256: -------------------------------------------------------------------------------- 1 | 675e2d605af2ca6f2496e54da9260bc76259a74689c24fb4c2a791fddc8f7af3 -------------------------------------------------------------------------------- /demo/demo_root_app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baidu/Rubik/HEAD/demo/demo_root_app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /demo/demo_root_app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baidu/Rubik/HEAD/demo/demo_root_app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/ktnail/gradle/0.1.1-AGBT4_2-K1_5/gradle-0.1.1-AGBT4_2-K1_5.module.sha256: -------------------------------------------------------------------------------- 1 | 9bccfa2daf3913b91c73cc5308d4013a549bf8bc4517f362116a12db937c1cfd -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/mars/rubik-test/detail-java-lib-context/0.0.1-DEV/detail-java-lib-context-0.0.1-DEV-sources.jar.sha1: -------------------------------------------------------------------------------- 1 | 7a8aa730f3348783261a2534a7982d8c19cdf191 -------------------------------------------------------------------------------- /demo/demo_root_app/src/main/res/mipmap-hdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baidu/Rubik/HEAD/demo/demo_root_app/src/main/res/mipmap-hdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /demo/demo_root_app/src/main/res/mipmap-mdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baidu/Rubik/HEAD/demo/demo_root_app/src/main/res/mipmap-mdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /demo/demo_until_library_a/src/main/java/com/mars/util_library/TestLibDataBean.kt: -------------------------------------------------------------------------------- 1 | package com.mars.util_library 2 | 3 | data class TestLibDataBean(val d1: Int?, val d2: String?) -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/mars/rubik-test/detail-java-component-release/0.0.1-DEV/detail-java-component-release-0.0.1-DEV.aar.sha1: -------------------------------------------------------------------------------- 1 | 0f39e33dbc2e4f1cfdb146f247aa0f719033b0b3 -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/mars/rubik-test/detail-java-component-release/0.0.1-DEV/detail-java-component-release-0.0.1-DEV.pom.sha1: -------------------------------------------------------------------------------- 1 | ed994461b8f3e6549813533735cdd562304fd6ce -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/mars/rubik-test/home-lib-context/0.0.1-DEV/home-lib-context-0.0.1-DEV.jar.sha256: -------------------------------------------------------------------------------- 1 | 4030a377c3e49dd1875665d8cf62b5474bc20c755cee2eb51db9f834d902f118 -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/mars/rubik-test/home-lib-context/0.0.1-DEV/home-lib-context-0.0.1-DEV.pom.sha256: -------------------------------------------------------------------------------- 1 | f7294d05732a21dfa7b5a9f989731b0bb4045475d3b837f2ea3dfb152e54c0e8 -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/rubik/dsl/1.10.0.0-AGBT4_2-K1_5-LOCAL/dsl-1.10.0.0-AGBT4_2-K1_5-LOCAL.jar.sha256: -------------------------------------------------------------------------------- 1 | 08c68dce8707cd8896cf2ee6e9a1e1e09429873f97e6835b9731ee118f75ae43 -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/rubik/dsl/1.10.0.0-AGBT4_2-K1_5-LOCAL/dsl-1.10.0.0-AGBT4_2-K1_5-LOCAL.pom.sha256: -------------------------------------------------------------------------------- 1 | 94b5c6208fa61625f2c66115f6260faa1d3ff8b1701848f8c0accd96ef6ca554 -------------------------------------------------------------------------------- /demo/demo_root_app/src/main/res/mipmap-xhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baidu/Rubik/HEAD/demo/demo_root_app/src/main/res/mipmap-xhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /demo/demo_root_app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baidu/Rubik/HEAD/demo/demo_root_app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /demo/demo_root_app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baidu/Rubik/HEAD/demo/demo_root_app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /rubik/rubik_annotations/src/main/java/com/rubik/annotations/route/function/RDefaultType.java: -------------------------------------------------------------------------------- 1 | package com.rubik.annotations.route.function; 2 | 3 | public class RDefaultType { } 4 | -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/mars/rubik-test/detail-component-company1-channel1-release/maven-metadata.xml.sha256: -------------------------------------------------------------------------------- 1 | 93b6c69c9cd14301f392f73d62ee44f7b7977bb69e10f86ff31731d95b762a5d -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/mars/rubik-test/detail-component-company1-channel2-release/maven-metadata.xml.sha256: -------------------------------------------------------------------------------- 1 | f45fb5d08b64ee6df891a4694ad7effb4438e4f44132984ae64fe9697e672241 -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/mars/rubik-test/detail-lib-context/0.0.1-DEV/detail-lib-context-0.0.1-DEV.jar.sha256: -------------------------------------------------------------------------------- 1 | 17d141328e24f9c2fd78301aacc1edbc7d96f612f61d209bb0e79a030f2ebfe2 -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/mars/rubik-test/detail-lib-context/0.0.1-DEV/detail-lib-context-0.0.1-DEV.pom.sha256: -------------------------------------------------------------------------------- 1 | 55ed8258e55c0343b27cf1b8b8f5de6aa4824a09bcad520f0e53be7eb9832a1d -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/rubik/picker/1.10.0.0-AGBT4_2-K1_5-LOCAL/picker-1.10.0.0-AGBT4_2-K1_5-LOCAL.jar.sha256: -------------------------------------------------------------------------------- 1 | 607caa23f600bc5f65380030f3a7ee3808245c09a742586e8961d4f4fe109da6 -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/rubik/picker/1.10.0.0-AGBT4_2-K1_5-LOCAL/picker-1.10.0.0-AGBT4_2-K1_5-LOCAL.pom.sha256: -------------------------------------------------------------------------------- 1 | 282457c46e223419bd07f5ce8dcb5155197893f11467c61dd54ba98d94833218 -------------------------------------------------------------------------------- /demo/demo_until_library_c_java/src/main/java/TestClassC.kt: -------------------------------------------------------------------------------- 1 | //import com.mars.util_library.TestClassB 2 | 3 | class TestClassC { 4 | // val testTag: String = TestClassB().testTag 5 | } -------------------------------------------------------------------------------- /rubik/rubik_kapt/src/main/java/ByVersion.kt: -------------------------------------------------------------------------------- 1 | const val BY_VERSION = "1.10.0.0-K1_5-LOCAL" 2 | // KTNail plugin update. 3 | // by [sync]. 4 | // at timestamp : 2024-05-22 12:51:23. 5 | -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/mars/rubik-test/home-lib-context/0.0.1-DEV/home-lib-context-0.0.1-DEV-sources.jar.sha256: -------------------------------------------------------------------------------- 1 | da155aa322a022f9692d1a536d74c6a50e7a0bf40715d5adc6b15a43fe24a4dc -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/rubik/context/1.10.0.0-AGBT4_2-K1_5-LOCAL/context-1.10.0.0-AGBT4_2-K1_5-LOCAL.jar.sha256: -------------------------------------------------------------------------------- 1 | 083a65628b9f4c3ce6528b0c712b7ca328288e4c9c08d0307fc84e4a940d2a4f -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/rubik/context/1.10.0.0-AGBT4_2-K1_5-LOCAL/context-1.10.0.0-AGBT4_2-K1_5-LOCAL.pom.sha256: -------------------------------------------------------------------------------- 1 | 89d719eece80b4826e8924a777eed4efd850482b131aed6f6f2c1c32fc22ef79 -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/rubik/plugins/1.10.0.0-AGBT4_2-K1_5-LOCAL/plugins-1.10.0.0-AGBT4_2-K1_5-LOCAL.jar.sha256: -------------------------------------------------------------------------------- 1 | 5c281977be5cad7632d97a95daa02651521a9b9f09f1f8b240cd497003951873 -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/rubik/plugins/1.10.0.0-AGBT4_2-K1_5-LOCAL/plugins-1.10.0.0-AGBT4_2-K1_5-LOCAL.pom.sha256: -------------------------------------------------------------------------------- 1 | 4daa3c5e39ab8c1dacedbfa0eb7bfcc26c9fd2f8e4d1062a891547fd45a6a399 -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/rubik/publish/1.10.0.0-AGBT4_2-K1_5-LOCAL/publish-1.10.0.0-AGBT4_2-K1_5-LOCAL.jar.sha256: -------------------------------------------------------------------------------- 1 | d4e37216247790c516ac59499450db2459bdbf9b70195b11364284bb776975e3 -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/rubik/publish/1.10.0.0-AGBT4_2-K1_5-LOCAL/publish-1.10.0.0-AGBT4_2-K1_5-LOCAL.pom.sha256: -------------------------------------------------------------------------------- 1 | a336586c69c66dcb21485f0d07910a6ca905425a9fef518b4e2ef4f596f4b8df -------------------------------------------------------------------------------- /rubik/rubik_context/src/main/java/com/rubik/context/Dependency.kt: -------------------------------------------------------------------------------- 1 | package com.rubik.context 2 | 3 | 4 | data class Dependency( 5 | val uri: String, 6 | val forFlavor: String? 7 | ) -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/ktnail/x/0.0.62-K1_5/x-0.0.62-K1_5.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baidu/Rubik/HEAD/rubik_maven_local_repository/com/ktnail/x/0.0.62-K1_5/x-0.0.62-K1_5.jar -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/ktnail/x/0.0.67-K1_5/x-0.0.67-K1_5.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baidu/Rubik/HEAD/rubik_maven_local_repository/com/ktnail/x/0.0.67-K1_5/x-0.0.67-K1_5.jar -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/mars/rubik-test/detail-java-lib-context/0.0.1-DEV/detail-java-lib-context-0.0.1-DEV.jar.sha256: -------------------------------------------------------------------------------- 1 | cfcc2ab4f1d21b3222c3aa55e6f5df7a43441e6441ed88f5d7902e399186bda5 -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/mars/rubik-test/detail-java-lib-context/0.0.1-DEV/detail-java-lib-context-0.0.1-DEV.pom.sha256: -------------------------------------------------------------------------------- 1 | ee9e9fc56e5ab16ef06a5fe53d8224b40dc7634a4ea3048ba9d2dec350f9f5bf -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/mars/rubik-test/detail-lib-context/0.0.1-DEV/detail-lib-context-0.0.1-DEV-sources.jar.sha256: -------------------------------------------------------------------------------- 1 | 857f094a59d1a9ae17cd8a2a8790a248c717c047a3300bded7c933f9beaa959f -------------------------------------------------------------------------------- /rubik/rubik_plugins/src/main/java/ByVersion.kt: -------------------------------------------------------------------------------- 1 | const val BY_VERSION = "1.10.0.0-AGBT4_2-K1_5-LOCAL" 2 | // KTNail plugin update. 3 | // by [sync]. 4 | // at timestamp : 2024-05-22 12:51:23. 5 | -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/ktnail/x/maven-metadata.xml.sha512: -------------------------------------------------------------------------------- 1 | 7eac31565218dc0ebca32eb6b5710e950e02762bc3041cac17d118567a31b191b892402afe3061cc620f6d3cf6ee10cf74412246ed748503013b72abbfcff2aa -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/mars/rubik-test/detail-component-company1-channel1-release/0.0.1-DEV/detail-component-company1-channel1-release-0.0.1-DEV.aar.md5: -------------------------------------------------------------------------------- 1 | a8f2b41ccc776f43184f3e958fef833a -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/mars/rubik-test/detail-component-company1-channel1-release/0.0.1-DEV/detail-component-company1-channel1-release-0.0.1-DEV.pom.md5: -------------------------------------------------------------------------------- 1 | f710ae737e1f8ca87bd9356dc4b6e4a4 -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/mars/rubik-test/detail-component-company1-channel2-release/0.0.1-DEV/detail-component-company1-channel2-release-0.0.1-DEV.aar.md5: -------------------------------------------------------------------------------- 1 | 8c73b4834870c8c7d9ed8a6e772feedf -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/mars/rubik-test/detail-component-company1-channel2-release/0.0.1-DEV/detail-component-company1-channel2-release-0.0.1-DEV.pom.md5: -------------------------------------------------------------------------------- 1 | 9c5964b689c99aa9f647a35b65dfc430 -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/rubik/dsl/maven-metadata.xml.sha512: -------------------------------------------------------------------------------- 1 | 08965dacf36a967fdfb7dc0dadbe6fe20b2fc96578ab2b15df7728e18200fab5415841f827e861849e94473e3b29b7b1b56645733b44a77449a65d69e4690b7e -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/rubik/kapt/maven-metadata.xml.sha512: -------------------------------------------------------------------------------- 1 | 33d3f469663825f9ff7ac8e2df7deb8de30f3e774be2695de3e31e8d8003cdfcfb95d5df3b1f900acea6aeb105ffa8718865102b8122337d6ed14bfde1e7cb7c -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/kotlin/blueprint/maven-metadata.xml.sha512: -------------------------------------------------------------------------------- 1 | 2c501c1ba4a4865bc3950021aa528bbafdb8291210bec06a438e1959c7e0940ffca3dab8138c8bcbe62e5be5b7e0d038377376ae8564a331ce82ffae07b2a1b2 -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/ktnail/gradle/maven-metadata.xml.sha512: -------------------------------------------------------------------------------- 1 | 2bd0bfa65944c65816d46c1da3bac8ee1a25fa80c44461d3690202774443d950bc9a326c58cbaa03be1a1141693f3ad94ff6b71858e2e194f8857cd891d5f81e -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/mars/rubik-test/detail-component-company1-channel1-release/0.0.1-DEV/detail-component-company1-channel1-release-0.0.1-DEV.aar.sha1: -------------------------------------------------------------------------------- 1 | 9f4b40b9749d0aef6129d1297f6df7e0702362ef -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/mars/rubik-test/detail-component-company1-channel1-release/0.0.1-DEV/detail-component-company1-channel1-release-0.0.1-DEV.pom.sha1: -------------------------------------------------------------------------------- 1 | 3d9575d10c52fbe4787e16bb5c9a3f7b139b8b9e -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/mars/rubik-test/detail-component-company1-channel2-release/0.0.1-DEV/detail-component-company1-channel2-release-0.0.1-DEV.aar.sha1: -------------------------------------------------------------------------------- 1 | 9be957a4e0af2bc31ccba4a4575f344c0e08c750 -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/mars/rubik-test/detail-component-company1-channel2-release/0.0.1-DEV/detail-component-company1-channel2-release-0.0.1-DEV.pom.sha1: -------------------------------------------------------------------------------- 1 | fc86712de3e8b4e21e548a09d44dab958a6c3384 -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/mars/rubik-test/detail-java-component-release/0.0.1-DEV/detail-java-component-release-0.0.1-DEV.aar.sha256: -------------------------------------------------------------------------------- 1 | cff2bb04cf590bb95c60340f964cf413d7180fb6db76c19ba19e3181db3b6f20 -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/mars/rubik-test/detail-java-component-release/0.0.1-DEV/detail-java-component-release-0.0.1-DEV.pom.sha256: -------------------------------------------------------------------------------- 1 | e019714c9c515bae3b8ca135d1a153984ba7b8be6cf70b153999861bf601eed4 -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/mars/rubik-test/detail-java-lib-context/0.0.1-DEV/detail-java-lib-context-0.0.1-DEV-sources.jar.sha256: -------------------------------------------------------------------------------- 1 | b11b3870d6bc765af8a5f3fa0b1119e4ba1470d0f36f2df75a82510670cc556c -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/rubik/context/maven-metadata.xml.sha512: -------------------------------------------------------------------------------- 1 | ab1e38dfd6df6d24d818fc57561a8f5e48b004bc974c68036b96a84390f2c1cdb26877f40b5415e15b6d72ba121710a8dabe56de4d7fddca729ea7f65ba450a1 -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/rubik/picker/maven-metadata.xml.sha512: -------------------------------------------------------------------------------- 1 | b762292d6ef7ac63dd592106d534e3fd017362dde0c569c0d99845ac985c57a809a16ed8aa6f9ea7d1e882ecbb7afa1ee4c4365a7e6512596832c68076a804e0 -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/rubik/plugins/maven-metadata.xml.sha512: -------------------------------------------------------------------------------- 1 | b121f4330d6b8cde1db3c71354800d097209973d8c06c5db1e9bfb141a99645fefd6f56c0e213237dc28f625b7ab244a4ae8c67a28b46ff07eda7ab4ed426d9b -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/rubik/publish/maven-metadata.xml.sha512: -------------------------------------------------------------------------------- 1 | ca18f972c94390079122cbf6e1c0353e2f88b89dde0765ce535550c8225f682d86e1a094d35390512d5c498e11b3fde373b3d5f83c6e78b4f933f447903c7a33 -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/rubik/router/maven-metadata.xml.sha512: -------------------------------------------------------------------------------- 1 | 2e46bbe5c546e47ba6307751c9460ab9f745d6d90bb51fd9badbef5c890a23340593c9f1346488033748e0f24b41b75ecec4ae6ef950741d87eaf033b2db5503 -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/synccode/syncer/maven-metadata.xml.sha512: -------------------------------------------------------------------------------- 1 | 8d1846fd01823b4b4b31da745ab59615796fc0e70ab12720300b12ea59d762c887a4b4953933e680fb7b34144c70ecd897988ee3a3a1a8644fd3522cfb47acac -------------------------------------------------------------------------------- /rubik_libs_repository/demo_com_mars_rubik_test_home/context/home-lib-context.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baidu/Rubik/HEAD/rubik_libs_repository/demo_com_mars_rubik_test_home/context/home-lib-context.jar -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/ktnail/x/0.0.67-K1_5/x-0.0.67-K1_5.jar.sha512: -------------------------------------------------------------------------------- 1 | a5e413aac8289a906e54e169264ab67ff1c7021638dbc30ea78914b43386a3191450ae8b07612269fb5b78df08de45152d1d6ef641af20c7d615106deb4e76ad -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/ktnail/x/0.0.67-K1_5/x-0.0.67-K1_5.pom.sha512: -------------------------------------------------------------------------------- 1 | 7f15c35c194a37b9ea72c258606831d0c4496b8f8953fcc8c771d66ec7a40661f64ad747e721f789f0cad914e1509e63fc91a6acd976150732802d9607319897 -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/rubik/annotations/maven-metadata.xml.sha512: -------------------------------------------------------------------------------- 1 | b319c4a76a406c323289230ef24206fc6c6724cfbaa0893552596dc78aa9534b32f68b0ab7e6fa4fbe0286bf61731f597df27b724bc169148aa164f62e9f2435 -------------------------------------------------------------------------------- /rubik/rubik_context/src/main/java/com/rubik/context/router/RouterRegister.kt: -------------------------------------------------------------------------------- 1 | package com.rubik.context.router 2 | 3 | enum class RouterRegister { 4 | NONE, 5 | NEW_INSTANCE, 6 | REFLECT_INSTANCE, 7 | } -------------------------------------------------------------------------------- /rubik/rubik_publish/src/main/java/ByPluginVersion.kt: -------------------------------------------------------------------------------- 1 | const val BY_PLUGIN_VERSION = "1.10.0.0-AGBT4_2-K1_5-LOCAL" 2 | // KTNail plugin update. 3 | // by [sync]. 4 | // at timestamp : 2024-05-22 13:57:17. 5 | -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/ktnail/x/0.0.67-K1_5/x-0.0.67-K1_5.module.sha512: -------------------------------------------------------------------------------- 1 | f80c161e3f8dfafbfd972e99527d3ecb7361ff675760f97b7b3c52c4187ca848092d2228dac48eb495c8be282317eac232a4371977866a8b153b9ce0712bd357 -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/synccode/syncer/0.0.8-K1_5/syncer-0.0.8-K1_5.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baidu/Rubik/HEAD/rubik_maven_local_repository/com/synccode/syncer/0.0.8-K1_5/syncer-0.0.8-K1_5.jar -------------------------------------------------------------------------------- /rubik_libs_repository/demo_com_mars_rubik_test_detail/context/detail-lib-context.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baidu/Rubik/HEAD/rubik_libs_repository/demo_com_mars_rubik_test_detail/context/detail-lib-context.jar -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/synccode/syncer/0.0.8-K1_5/syncer-0.0.8-K1_5.jar.sha512: -------------------------------------------------------------------------------- 1 | 707b15101f37771276fa7e861c068e25ac7ef38cba22f40f53a2ce4de771d3d1246b266de78242437f74b780eb30234f2ffd3d9371dc56edcb3bea5c0e8f7dca -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/synccode/syncer/0.0.8-K1_5/syncer-0.0.8-K1_5.pom.sha512: -------------------------------------------------------------------------------- 1 | a104937bb7a44ffbfa35e60bbd83971bceb4ba3e16c6fb4dda623b689139122171db087de50d931b0d68a771e12e6e664c879e8ae7ab757a8a8be5dcbf4d0974 -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/kotlin/blueprint/5.1.12-K1_5/blueprint-5.1.12-K1_5.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baidu/Rubik/HEAD/rubik_maven_local_repository/com/kotlin/blueprint/5.1.12-K1_5/blueprint-5.1.12-K1_5.jar -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/mars/rubik-test/detail-lib-context/maven-metadata.xml.sha512: -------------------------------------------------------------------------------- 1 | 2bdceddcba5adad258dbcc87390e18edeefc388c69c800375c62b011ee66ea20e2bcf91264a12bfe90df76250c56338f2626907e2e898a5795e8db01dc4b7085 -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/mars/rubik-test/home-lib-context/maven-metadata.xml.sha512: -------------------------------------------------------------------------------- 1 | af6f8cf3d21cae099a0ed5f5523af166fd7c8dc35171987d30c7cbda0a3610c4b7cc66ca84a36b0f4621f6ceb3d4d60698f9fa344951d50a1c3242bb54f376dd -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/synccode/syncer/0.0.8-K1_5/syncer-0.0.8-K1_5.module.sha512: -------------------------------------------------------------------------------- 1 | 54ed37788fa03b2d0d4569b2bec9e033cc0eb23144593fd299c4f1e31bb5e0051d6b8758b3460d36b887883b75add65e8ab3300e5066ea6907b4a9ea8d84ab29 -------------------------------------------------------------------------------- /demo/demo_until_library_a/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | -------------------------------------------------------------------------------- /demo/demo_until_library_b/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | -------------------------------------------------------------------------------- /rubik/rubik_kapt/src/main/java/com/rubik/apt/codebase/invoker/OriginalInvokable.kt: -------------------------------------------------------------------------------- 1 | package com.rubik.apt.codebase.invoker 2 | 3 | interface OriginalInvokable : Instanceable { 4 | val invoker: InvokeOriginalCodeBase 5 | } -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/mars/rubik-test/detail-java-lib-context/maven-metadata.xml.sha512: -------------------------------------------------------------------------------- 1 | 8ad2aedcfb16de68c49e7d66f2442813b2d02c2d0b91b7fa70b2d2a386c03fc1e5625ad14eb77b764d1ba5cf5ca93cfae4683d9005be6afda0e6656d413a4015 -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/rubik/kapt/1.10.0.0-K1_5-LOCAL/kapt-1.10.0.0-K1_5-LOCAL.jar.sha512: -------------------------------------------------------------------------------- 1 | bb79c12f4df71e59a774d7510d7e2c1ffca86826adb29cb829f064a9655b9787727eab5d7a6592c6d90bad01eb80e4cf1018acb089ed3bb53b92660675bc59cc -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/rubik/kapt/1.10.0.0-K1_5-LOCAL/kapt-1.10.0.0-K1_5-LOCAL.pom.sha512: -------------------------------------------------------------------------------- 1 | 993b257c51883f95903a9ca59eba6a1fadc310504c58b1b0fc6e1c190c57cea33aab2c5da2f2507dec551678f1dafedb91defc58bb30356ec0eace6e2e76c092 -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/ktnail/gradle/0.1.1-AGBT4_2-K1_5/gradle-0.1.1-AGBT4_2-K1_5.jar.sha512: -------------------------------------------------------------------------------- 1 | e8491aed729020df7f45cd64ae5ad7d408ad0a00897a19d6822802d39e844674e67f3fcc9a9e13acb33e87ec8301f5502e9fe22bfb92f0fc24c105f464eab27b -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/ktnail/gradle/0.1.1-AGBT4_2-K1_5/gradle-0.1.1-AGBT4_2-K1_5.module.sha512: -------------------------------------------------------------------------------- 1 | 6bf43fe68cf841b217a9e4281f8c0da32a23a1a37ba93be2d8a1676beedcadcc3df02e0c8cc34ed71b1afc95063f0996d99bf7fbd2d8e56d915aaa4f894f7268 -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/ktnail/gradle/0.1.1-AGBT4_2-K1_5/gradle-0.1.1-AGBT4_2-K1_5.pom.sha512: -------------------------------------------------------------------------------- 1 | 12981c86ae3be4b03717c7eb5591fbf03c94cc6a6085d9b92bbad015e3e75fc289573bd3e7ae30875a764bb48010891c5ec082485bca26220534ce3f3976866e -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/mars/rubik-test/detail-component-company1-channel1-release/0.0.1-DEV/detail-component-company1-channel1-release-0.0.1-DEV.aar.sha256: -------------------------------------------------------------------------------- 1 | b9beaa7159414c94eaa647a61ac72a4e6f4b7c18e45bed719ddfb01d6b11f065 -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/mars/rubik-test/detail-component-company1-channel1-release/0.0.1-DEV/detail-component-company1-channel1-release-0.0.1-DEV.pom.sha256: -------------------------------------------------------------------------------- 1 | 0887d33a30a3a0ec7de26ae5070e7562c3e086a1a65cca8a56dde2c90332baad -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/mars/rubik-test/detail-component-company1-channel2-release/0.0.1-DEV/detail-component-company1-channel2-release-0.0.1-DEV.aar.sha256: -------------------------------------------------------------------------------- 1 | 1acd7f3ef14590c8dfdcf96716c11add7b1a4401c4d883c20d029b41e3315f7a -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/mars/rubik-test/detail-component-company1-channel2-release/0.0.1-DEV/detail-component-company1-channel2-release-0.0.1-DEV.pom.sha256: -------------------------------------------------------------------------------- 1 | 7a7bb30e716a5095607544365a54cf3622a4315dccf8529d5b2ad76759d7f3ee -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/mars/rubik-test/detail-java-component-release/maven-metadata.xml.sha512: -------------------------------------------------------------------------------- 1 | 6e6ef6fe5399935fd3195e05568a0929689bc359a8362d4a4ed79320bf706b738a82b3c8c5173604ef8a62f5f96ece90d79f90df49a92640ec120846e0494a6b -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/rubik/annotations/1.10.0.0-LOCAL/annotations-1.10.0.0-LOCAL.jar.sha512: -------------------------------------------------------------------------------- 1 | 522fddbd5e748ad523277f8a2238b2ac12bd43718aceeee3021a46c074bad319139f5c1a4449602b28a2111b2716a2470c9969ef9736a6deb01b72b848e51f2d -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/rubik/annotations/1.10.0.0-LOCAL/annotations-1.10.0.0-LOCAL.pom.sha512: -------------------------------------------------------------------------------- 1 | 41aa49968b77747821dc744b3fb4fee56ccd2fe7af77ff1f3c5d66cf87f4b1e54a59c58d71a9af5fe59376449c1db555253a269ac349b6403ff170f85a70bd6d -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/rubik/kapt/1.10.0.0-K1_5-LOCAL/kapt-1.10.0.0-K1_5-LOCAL.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baidu/Rubik/HEAD/rubik_maven_local_repository/com/rubik/kapt/1.10.0.0-K1_5-LOCAL/kapt-1.10.0.0-K1_5-LOCAL.jar -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/rubik/router/1.10.0.0-K1_5-LOCAL/router-1.10.0.0-K1_5-LOCAL.jar.sha512: -------------------------------------------------------------------------------- 1 | f1fcb88507bf124466ec11f5ddc5143488b2404a755668afa4b3da055089aa90abec858cc1bb0de8dc82e32d50247b6adc1b700b645bc2393871d907091fe8cc -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/rubik/router/1.10.0.0-K1_5-LOCAL/router-1.10.0.0-K1_5-LOCAL.pom.sha512: -------------------------------------------------------------------------------- 1 | 8f65b4e2a09d815a6455bdba6571345e8b5412a2dbec6336c3ff32641be16dfaa9f5d1fd846a323f4ec7d7e66d8ea6b2bdda3b5727b5325e7d9474598e2f0466 -------------------------------------------------------------------------------- /demo/demo_until_library_a/src/main/java/com/mars/util_library/TestClassA.kt: -------------------------------------------------------------------------------- 1 | package com.mars.util_library 2 | 3 | class TestClassA { 4 | val testTag: String = "test a!!!" 5 | // val b : TestClassB? =null 6 | // val qwe = b 7 | } -------------------------------------------------------------------------------- /rubik_libs_repository/demo_com_mars_rubik_test_detail_java/context/detail-java-lib-context.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baidu/Rubik/HEAD/rubik_libs_repository/demo_com_mars_rubik_test_detail_java/context/detail-java-lib-context.jar -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/ktnail/gradle/0.1.1-AGBT4_2-K1_5/gradle-0.1.1-AGBT4_2-K1_5.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baidu/Rubik/HEAD/rubik_maven_local_repository/com/ktnail/gradle/0.1.1-AGBT4_2-K1_5/gradle-0.1.1-AGBT4_2-K1_5.jar -------------------------------------------------------------------------------- /rubik_libs_repository/demo_com_mars_rubik_test_home/context_sources/home-lib-context-sources.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baidu/Rubik/HEAD/rubik_libs_repository/demo_com_mars_rubik_test_home/context_sources/home-lib-context-sources.jar -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/mars/rubik-test/home-lib-context/0.0.1-DEV/home-lib-context-0.0.1-DEV.jar.sha512: -------------------------------------------------------------------------------- 1 | ec6b8c82986cade3f1226d32341dfcc402d57404e2759a949276631fb587ff51abe38101c0f89f59e8693289290c0c8783fe7cc699b3a47d267dbae25d1d30d3 -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/mars/rubik-test/home-lib-context/0.0.1-DEV/home-lib-context-0.0.1-DEV.pom.sha512: -------------------------------------------------------------------------------- 1 | 8acf4547fec32a9fb412024971285cecd5b56043541db8e2c7020b9a27d348d79421f0df197460fd631584f148a34b294713e7f30c6fcc6040996f096a5dd769 -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/rubik/annotations/1.10.0.0-LOCAL/annotations-1.10.0.0-LOCAL.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baidu/Rubik/HEAD/rubik_maven_local_repository/com/rubik/annotations/1.10.0.0-LOCAL/annotations-1.10.0.0-LOCAL.jar -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/rubik/dsl/1.10.0.0-AGBT4_2-K1_5-LOCAL/dsl-1.10.0.0-AGBT4_2-K1_5-LOCAL.jar.sha512: -------------------------------------------------------------------------------- 1 | 0f29a4b174d8db21c91f597c3a6217d15aefb3ea75f1851a785a605826fe1d42956f990f4f077d536d78c28e7b5b1fda83df01aa5847c0d03417db0c7c7c408b -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/rubik/dsl/1.10.0.0-AGBT4_2-K1_5-LOCAL/dsl-1.10.0.0-AGBT4_2-K1_5-LOCAL.pom.sha512: -------------------------------------------------------------------------------- 1 | 6eb7438bc6503f6f5c2144957ea6ecb4573d164ff6ce9a56bf791566cc5896bc420c676719ed1f1b2ae5ed0a17e4865b9e0d0ee6b227fda763dd21f46087f898 -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/rubik/router/1.10.0.0-K1_5-LOCAL/router-1.10.0.0-K1_5-LOCAL.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baidu/Rubik/HEAD/rubik_maven_local_repository/com/rubik/router/1.10.0.0-K1_5-LOCAL/router-1.10.0.0-K1_5-LOCAL.jar -------------------------------------------------------------------------------- /demo/demo_until_library_c_java/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | -------------------------------------------------------------------------------- /rubik_libs_repository/demo_com_mars_rubik_test_detail/context_sources/detail-lib-context-sources.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baidu/Rubik/HEAD/rubik_libs_repository/demo_com_mars_rubik_test_detail/context_sources/detail-lib-context-sources.jar -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/mars/rubik-test/detail-component-company1-channel1-release/maven-metadata.xml.sha512: -------------------------------------------------------------------------------- 1 | 6b3f838b069951abcb8f5ac9bc98ccb957398c17b0d229302cc97b3a4fdd77276290d704c6c146db0938cd775fc042e734d4ee25f4c8451722b08674a5dd3a4f -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/mars/rubik-test/detail-component-company1-channel2-release/maven-metadata.xml.sha512: -------------------------------------------------------------------------------- 1 | e18cebf79e86216d451ab4bcc359869e2f365940135b013111f3aad7ec27f840197f2e7f5da96721fe894c1dd34386e734cb2fdcf81b5ee877945439097ce9c0 -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/mars/rubik-test/detail-lib-context/0.0.1-DEV/detail-lib-context-0.0.1-DEV.jar.sha512: -------------------------------------------------------------------------------- 1 | 757183583da215edb77cb7e1d4f23c50d5edeb0f3ef410dab3029f8de309bb851bf5dbbf5778c886c9b4769d95b9d9576035bd34e5eb3dce3fd548419f8ae8d6 -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/mars/rubik-test/detail-lib-context/0.0.1-DEV/detail-lib-context-0.0.1-DEV.pom.sha512: -------------------------------------------------------------------------------- 1 | 14f8fc8fecb2b0b057aabcb96a09af540c949310156738277ad6676d636e5fb163986b24f0cdf0b76ac58a776b47825fe82673e8897c9a0d49cb08117b57bb61 -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/rubik/picker/1.10.0.0-AGBT4_2-K1_5-LOCAL/picker-1.10.0.0-AGBT4_2-K1_5-LOCAL.jar.sha512: -------------------------------------------------------------------------------- 1 | 23568e4626e4bfaf37dd028d13f4fbe5a7a9562afdbf8ac9ad5e14263a762e7a707c386d3316a1506b230324cb301c9fa3e4d31bbeef609e7f95634cc0f3519a -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/rubik/picker/1.10.0.0-AGBT4_2-K1_5-LOCAL/picker-1.10.0.0-AGBT4_2-K1_5-LOCAL.pom.sha512: -------------------------------------------------------------------------------- 1 | 52c9ed0ee379f91c438527762b5da89401323ba008fe596daec05d874539350a4d9ced4e4c37a44451b69de14e927c80e52d5524d52c12d9ddd9c3bc702c25d8 -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/mars/rubik-test/detail-lib-context/0.0.1-DEV/detail-lib-context-0.0.1-DEV-sources.jar.sha512: -------------------------------------------------------------------------------- 1 | 597fdc6811b65052a9e564f73c40fbe3692d7ee2945708247bc4a2a32c17416d4edac4487ddbc6d6ff54da558a6c5e725c8f46e24e33e409ca9effe5c23cd858 -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/mars/rubik-test/home-lib-context/0.0.1-DEV/home-lib-context-0.0.1-DEV-sources.jar.sha512: -------------------------------------------------------------------------------- 1 | bc97554d83513e4d66943f5fe101f5dee622acef596b2f4efc182777e6c953d11c37ed2a21dbc433aad9df1738a61e24af4c80f90cc143c30e6be42374e62e03 -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/rubik/context/1.10.0.0-AGBT4_2-K1_5-LOCAL/context-1.10.0.0-AGBT4_2-K1_5-LOCAL.jar.sha512: -------------------------------------------------------------------------------- 1 | c6f2001d161c2dc340a550d9f0c86b54100028bb328d4711d52238c73c3a6b560ac771e2b39b05d5185b019cfc051b1a8a7922c92a8ff3fef20f9c827d0a4e9d -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/rubik/context/1.10.0.0-AGBT4_2-K1_5-LOCAL/context-1.10.0.0-AGBT4_2-K1_5-LOCAL.pom.sha512: -------------------------------------------------------------------------------- 1 | 8d78f6d03286b33d03c6482cbcb79eab9bb06893658d724e8395c863d72de3cbc035215698450e827264e3e1380550b8e6e797f40e321da9e2888688eaa91091 -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/rubik/plugins/1.10.0.0-AGBT4_2-K1_5-LOCAL/plugins-1.10.0.0-AGBT4_2-K1_5-LOCAL.jar.sha512: -------------------------------------------------------------------------------- 1 | 668dce7d09367c82bbe8dd12b5a013eff6c88c05c64b116e178343d6ee3196393411342e7fdd931e53c4e8050878f00d821469f5090f63a26c0edc006d28d0b6 -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/rubik/plugins/1.10.0.0-AGBT4_2-K1_5-LOCAL/plugins-1.10.0.0-AGBT4_2-K1_5-LOCAL.pom.sha512: -------------------------------------------------------------------------------- 1 | 4a1574c35d8c67c0ebdd064378a60b28fe2cd848aee2ddfa5424e64b480fba30b3edcc2bd609f19249be1038db7183611b5d9a82f2080c60d3c2dd34edb39952 -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/rubik/publish/1.10.0.0-AGBT4_2-K1_5-LOCAL/publish-1.10.0.0-AGBT4_2-K1_5-LOCAL.jar.sha512: -------------------------------------------------------------------------------- 1 | c3f18c9845fda156b8d45c48044203781d54741a608120f6034f525fcb782a99447713a84b2d41d231e8f5646ae70386bfd433d4bf0fa33b2792fbdc7fe5c3af -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/rubik/publish/1.10.0.0-AGBT4_2-K1_5-LOCAL/publish-1.10.0.0-AGBT4_2-K1_5-LOCAL.pom.sha512: -------------------------------------------------------------------------------- 1 | 540d2c647980588e8c0fa9b2c0acab3f6c6153169444ad3dbacfe486d7198b7cc8086bc9226f8ce4a62f3f35b3acfe751acec002ea1c3dc8edd0e71b743f80d8 -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/mars/rubik-test/detail-java-lib-context/0.0.1-DEV/detail-java-lib-context-0.0.1-DEV.jar.sha512: -------------------------------------------------------------------------------- 1 | cbf801b187cdd533df0ee675b51201033cfc0ac8149f54c8c2d83b7f1d4a89bfe1c13a98a034fe13c0daf6e4298d2b4ac36ef7bb81ff39fb565468b6844440cd -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/mars/rubik-test/detail-java-lib-context/0.0.1-DEV/detail-java-lib-context-0.0.1-DEV.pom.sha512: -------------------------------------------------------------------------------- 1 | 9fe3640fbb9d401582371639415675455facafe12bc862495ef2309b9ba8338e2d2cbf9f670744a0733eb4afdddf043b1f80f61cc70286d594c017698711d850 -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/mars/rubik-test/detail-java-lib-context/0.0.1-DEV/detail-java-lib-context-0.0.1-DEV-sources.jar.sha512: -------------------------------------------------------------------------------- 1 | 23e37e5b4d576461dbdb9060f41fc9e9dfc6673db9c9480ad38c3e00e7e6b273bd8d65c07f85888d59d4f0ac0d7ca20b120ae834bd04c04ca169907c673d3d7d -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/mars/rubik-test/home-lib-context/0.0.1-DEV/home-lib-context-0.0.1-DEV.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baidu/Rubik/HEAD/rubik_maven_local_repository/com/mars/rubik-test/home-lib-context/0.0.1-DEV/home-lib-context-0.0.1-DEV.jar -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/rubik/dsl/1.10.0.0-AGBT4_2-K1_5-LOCAL/dsl-1.10.0.0-AGBT4_2-K1_5-LOCAL.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baidu/Rubik/HEAD/rubik_maven_local_repository/com/rubik/dsl/1.10.0.0-AGBT4_2-K1_5-LOCAL/dsl-1.10.0.0-AGBT4_2-K1_5-LOCAL.jar -------------------------------------------------------------------------------- /rubik/rubik_picker/src/main/java/com/rubik/pick/Excepted.kt: -------------------------------------------------------------------------------- 1 | package com.rubik.pick 2 | 3 | 4 | class Excepted( 5 | val forFlavor: String?, 6 | val where: PickWhere 7 | ) { 8 | override fun toString() = "Excepted forFlavor:${forFlavor} who:${where}" 9 | } -------------------------------------------------------------------------------- /rubik_libs_repository/demo_com_mars_rubik_test_detail_java/context_sources/detail-java-lib-context-sources.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baidu/Rubik/HEAD/rubik_libs_repository/demo_com_mars_rubik_test_detail_java/context_sources/detail-java-lib-context-sources.jar -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/mars/rubik-test/detail-java-component-release/0.0.1-DEV/detail-java-component-release-0.0.1-DEV.aar.sha512: -------------------------------------------------------------------------------- 1 | 1d8b27fe49b81c148f9e3a4a4cc76128568a124ccc2503be8f71e783d18bc87e7e9c7a8ca3007b2d023464e6b4a260f3d06f219bbc80591776e1da954ccc2926 -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/mars/rubik-test/detail-java-component-release/0.0.1-DEV/detail-java-component-release-0.0.1-DEV.pom.sha512: -------------------------------------------------------------------------------- 1 | 8dee315f922bef8bd08228b24dc94cbc84ac6466c116f71781e8dffb8e079ffccafadb02d9e1d2bc20579f4b3814742dcf5b90157b73053c7fd9badbf3fc8000 -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/mars/rubik-test/detail-lib-context/0.0.1-DEV/detail-lib-context-0.0.1-DEV.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baidu/Rubik/HEAD/rubik_maven_local_repository/com/mars/rubik-test/detail-lib-context/0.0.1-DEV/detail-lib-context-0.0.1-DEV.jar -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/rubik/picker/1.10.0.0-AGBT4_2-K1_5-LOCAL/picker-1.10.0.0-AGBT4_2-K1_5-LOCAL.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baidu/Rubik/HEAD/rubik_maven_local_repository/com/rubik/picker/1.10.0.0-AGBT4_2-K1_5-LOCAL/picker-1.10.0.0-AGBT4_2-K1_5-LOCAL.jar -------------------------------------------------------------------------------- /test_app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #008577 4 | #00574B 5 | #D81B60 6 | 7 | -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/mars/rubik-test/home-lib-context/0.0.1-DEV/home-lib-context-0.0.1-DEV-sources.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baidu/Rubik/HEAD/rubik_maven_local_repository/com/mars/rubik-test/home-lib-context/0.0.1-DEV/home-lib-context-0.0.1-DEV-sources.jar -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/rubik/context/1.10.0.0-AGBT4_2-K1_5-LOCAL/context-1.10.0.0-AGBT4_2-K1_5-LOCAL.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baidu/Rubik/HEAD/rubik_maven_local_repository/com/rubik/context/1.10.0.0-AGBT4_2-K1_5-LOCAL/context-1.10.0.0-AGBT4_2-K1_5-LOCAL.jar -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/rubik/plugins/1.10.0.0-AGBT4_2-K1_5-LOCAL/plugins-1.10.0.0-AGBT4_2-K1_5-LOCAL.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baidu/Rubik/HEAD/rubik_maven_local_repository/com/rubik/plugins/1.10.0.0-AGBT4_2-K1_5-LOCAL/plugins-1.10.0.0-AGBT4_2-K1_5-LOCAL.jar -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/rubik/publish/1.10.0.0-AGBT4_2-K1_5-LOCAL/publish-1.10.0.0-AGBT4_2-K1_5-LOCAL.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baidu/Rubik/HEAD/rubik_maven_local_repository/com/rubik/publish/1.10.0.0-AGBT4_2-K1_5-LOCAL/publish-1.10.0.0-AGBT4_2-K1_5-LOCAL.jar -------------------------------------------------------------------------------- /demo/demo_component_detail_java/src/main/java/com/mars/component/detail/java/api/BaseApis.java: -------------------------------------------------------------------------------- 1 | package com.mars.component.detail.java.api; 2 | 3 | public class BaseApis { 4 | public static void println(String msg) { 5 | System.out.println(msg); 6 | } 7 | } 8 | 9 | -------------------------------------------------------------------------------- /demo/demo_root_app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #008577 4 | #00574B 5 | #D81B60 6 | 7 | -------------------------------------------------------------------------------- /rubik/rubik_picker/src/main/java/com/rubik/picker/log/LogTags.kt: -------------------------------------------------------------------------------- 1 | package com.rubik.picker.log 2 | 3 | import com.ktnail.x.LogTag 4 | import com.ktnail.x.Logger 5 | 6 | object LogTags { 7 | val PICK_CASE = LogTag(" PICK_CASE ", Logger.Level.LOW) 8 | } 9 | 10 | -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/mars/rubik-test/detail-lib-context/0.0.1-DEV/detail-lib-context-0.0.1-DEV-sources.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baidu/Rubik/HEAD/rubik_maven_local_repository/com/mars/rubik-test/detail-lib-context/0.0.1-DEV/detail-lib-context-0.0.1-DEV-sources.jar -------------------------------------------------------------------------------- /rubik/rubik_context/src/main/java/com/rubik/context/publication/BuildType.kt: -------------------------------------------------------------------------------- 1 | package com.rubik.context.publication 2 | 3 | object BuildType { 4 | const val CONTEXT_LIB_BUILD_TYPE_NAME = "RContextLib" 5 | const val CONTEXT_LIB_COMPILER_BUILD_TYPE_NAME = "RContextLibCompiler" 6 | } -------------------------------------------------------------------------------- /rubik/rubik_context/src/main/java/com/rubik/context/publication/LibType.kt: -------------------------------------------------------------------------------- 1 | package com.rubik.context.publication 2 | 3 | object LibType { 4 | const val CONTEXT = "context" 5 | const val ORIGINAL_VALUE = "original_value" 6 | const val CONTEXT_SOURCES = "context_sources" 7 | } -------------------------------------------------------------------------------- /rubik/rubik_router/src/main/java/com/rubik/route/Result.kt: -------------------------------------------------------------------------------- 1 | package com.rubik.route 2 | 3 | /** 4 | * The Result of rubik router. 5 | * Provide the mapping of original data type. 6 | * 7 | * @since 1.0 8 | */ 9 | data class Result( 10 | val value: Any? 11 | ) 12 | 13 | -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/mars/rubik-test/detail-java-lib-context/0.0.1-DEV/detail-java-lib-context-0.0.1-DEV.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baidu/Rubik/HEAD/rubik_maven_local_repository/com/mars/rubik-test/detail-java-lib-context/0.0.1-DEV/detail-java-lib-context-0.0.1-DEV.jar -------------------------------------------------------------------------------- /rubik/rubik_plugins/src/main/java/com/rubik/plugins/shell/checker/CheckClassesRule.kt: -------------------------------------------------------------------------------- 1 | package com.rubik.plugins.shell.checker 2 | 3 | import javassist.CtClass 4 | import org.gradle.api.Project 5 | 6 | interface CheckClassesRule { 7 | fun doCheck(project: Project, ctClass: CtClass) 8 | } -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/mars/rubik-test/detail-component-company1-channel1-release/0.0.1-DEV/detail-component-company1-channel1-release-0.0.1-DEV.aar.sha512: -------------------------------------------------------------------------------- 1 | 507b6126f346a8e547506782537e0f3f475aaff02a6260aca37e03d9cd6bdcd3ee37e9664738d2d5b90f89dfa454ea84ea2d014f88d0198071ec75de4604e63e -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/mars/rubik-test/detail-component-company1-channel1-release/0.0.1-DEV/detail-component-company1-channel1-release-0.0.1-DEV.pom.sha512: -------------------------------------------------------------------------------- 1 | 9386351c1f739f800a7853db735bf47c90fb600b7c0e8e32c6b4e8a463ab1692a2d165e1cdddf56a7fe350110cb33945f0c90b0d5e212332bcdf0e4f60604afa -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/mars/rubik-test/detail-component-company1-channel2-release/0.0.1-DEV/detail-component-company1-channel2-release-0.0.1-DEV.aar.sha512: -------------------------------------------------------------------------------- 1 | fd4eaa9f3d8585e2e7a2c9a45983af190692a12a2b1cec07ecc323677892c9b90e2d8d087257e9561d8571974356732f925796e63c70eac514ce20b495f37b9a -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/mars/rubik-test/detail-component-company1-channel2-release/0.0.1-DEV/detail-component-company1-channel2-release-0.0.1-DEV.pom.sha512: -------------------------------------------------------------------------------- 1 | 3b8baf2a9e0c07e2a47fc82da764bc750378737aeb67238cc6d3b713d108cdb8d190e0c0e9b4c8eab7d6ca307c03c246ff27bbb1fa217c43ce4595ca58d3da02 -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Fri Aug 20 12:44:46 CST 2021 2 | distributionBase=GRADLE_USER_HOME 3 | distributionPath=wrapper/dists 4 | zipStorePath=wrapper/dists 5 | zipStoreBase=GRADLE_USER_HOME 6 | distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-bin.zip 7 | 8 | -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/mars/rubik-test/detail-java-lib-context/0.0.1-DEV/detail-java-lib-context-0.0.1-DEV-sources.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baidu/Rubik/HEAD/rubik_maven_local_repository/com/mars/rubik-test/detail-java-lib-context/0.0.1-DEV/detail-java-lib-context-0.0.1-DEV-sources.jar -------------------------------------------------------------------------------- /demo/demo_component_detail_java/src/main/java/com/mars/component/detail/java/api/callback/Callbackable.java: -------------------------------------------------------------------------------- 1 | package com.mars.component.detail.java.api.callback; 2 | 3 | import androidx.annotation.Nullable; 4 | 5 | public interface Callbackable { 6 | void onCall(@Nullable String v1, int v2); 7 | } 8 | -------------------------------------------------------------------------------- /demo/demo_until_library_b/src/main/java/com/mars/util_library/TestClassB.kt: -------------------------------------------------------------------------------- 1 | package com.mars.util_library 2 | 3 | import com.x.Xx 4 | import com.x.Yx 5 | 6 | class TestClassB { 7 | val testTag: String = "test b!!!" 8 | val x : Xx = Xx() 9 | val y : Yx = Yx() 10 | val a =1232 11 | } -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/mars/rubik-test/detail-java-component-release/0.0.1-DEV/detail-java-component-release-0.0.1-DEV.aar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baidu/Rubik/HEAD/rubik_maven_local_repository/com/mars/rubik-test/detail-java-component-release/0.0.1-DEV/detail-java-component-release-0.0.1-DEV.aar -------------------------------------------------------------------------------- /demo/demo_component_detail/src/main/java/com/mars/component/detail/value/TestOriginalBean.kt: -------------------------------------------------------------------------------- 1 | package com.mars.component.detail.value 2 | 3 | import java.io.Serializable 4 | import com.rubik.annotations.source.ROriginalValue 5 | 6 | @ROriginalValue 7 | data class TestOriginalBean (val d1:Int, val d2:String): Serializable -------------------------------------------------------------------------------- /rubik/rubik_kapt/src/main/java/com/rubik/apt/codebase/invoker/Callbackable.kt: -------------------------------------------------------------------------------- 1 | package com.rubik.apt.codebase.invoker 2 | 3 | 4 | interface Callbackable { 5 | val isResult: Boolean 6 | val transformRMirror: Boolean 7 | val transformRMirrorResult: Boolean 8 | val functions: List 9 | } 10 | -------------------------------------------------------------------------------- /test_app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /rubik/rubik_router/src/main/java/com/rubik/route/Object.kt: -------------------------------------------------------------------------------- 1 | package com.rubik.route 2 | 3 | /** 4 | * The Object of rubik router. 5 | * Provide the mapping of original data type. 6 | * 7 | * @since 1.10 8 | */ 9 | 10 | interface Object 11 | 12 | abstract class SubObject( 13 | val originalObject: Any? 14 | ) : Object 15 | 16 | -------------------------------------------------------------------------------- /demo/demo_root_app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /test_app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /demo/demo_component_detail/src/main/java/com/mars/component/detail/value/TestDataBean.kt: -------------------------------------------------------------------------------- 1 | package com.mars.component.detail.value 2 | 3 | import com.rubik.annotations.route.RValue 4 | import com.google.gson.annotations.SerializedName 5 | 6 | @RValue 7 | data class TestDataBean(@SerializedName("data1") val d1: Int?, @SerializedName("data2") val d2: String?) -------------------------------------------------------------------------------- /demo/demo_component_home/src/main/java/com/mars/component/home/api/TestOne.kt: -------------------------------------------------------------------------------- 1 | package com.mars.component.home.api 2 | 3 | import com.rubik.annotations.route.function.RFunction 4 | 5 | class TestOne { 6 | @RFunction(path = "getName") 7 | fun getName() = "name" 8 | 9 | @RFunction(path = "getName1") 10 | fun getName1() = "name1" 11 | } -------------------------------------------------------------------------------- /demo/demo_root_app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/mars/rubik-test/detail-component-company1-channel1-release/0.0.1-DEV/detail-component-company1-channel1-release-0.0.1-DEV.aar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baidu/Rubik/HEAD/rubik_maven_local_repository/com/mars/rubik-test/detail-component-company1-channel1-release/0.0.1-DEV/detail-component-company1-channel1-release-0.0.1-DEV.aar -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/mars/rubik-test/detail-component-company1-channel2-release/0.0.1-DEV/detail-component-company1-channel2-release-0.0.1-DEV.aar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baidu/Rubik/HEAD/rubik_maven_local_repository/com/mars/rubik-test/detail-component-company1-channel2-release/0.0.1-DEV/detail-component-company1-channel2-release-0.0.1-DEV.aar -------------------------------------------------------------------------------- /demo/demo_component_detail/src/main/java/com/mars/component/detail/value/TestDataNotRValueBean.kt: -------------------------------------------------------------------------------- 1 | package com.mars.component.detail.value 2 | 3 | import com.rubik.annotations.route.RValue 4 | import com.google.gson.annotations.SerializedName 5 | 6 | data class TestDataNotRValueBean(@SerializedName("data1") val d1: Int?, @SerializedName("data2") val d2: String?) -------------------------------------------------------------------------------- /demo/demo_component_detail/src/main/java/com/mars/component/detail/value/TestNullableBean.kt: -------------------------------------------------------------------------------- 1 | package com.mars.component.detail.value 2 | 3 | import com.google.gson.annotations.SerializedName 4 | import com.rubik.annotations.route.RValue 5 | 6 | @RValue 7 | data class TestNullableBean(@SerializedName("ddd111") val d1: Int?, @SerializedName("ddd222") val d2: String?) -------------------------------------------------------------------------------- /rubik/rubik_context/src/main/java/com/rubik/context/log/LogTags.kt: -------------------------------------------------------------------------------- 1 | package com.rubik.context.log 2 | 3 | import com.ktnail.x.LogTag 4 | import com.ktnail.x.Logger 5 | 6 | object LogTags { 7 | val CONTEXT = LogTag(" CONTEXT ", Logger.Level.DEFAULT) 8 | 9 | val CREATE_TASK = LogTag(" CREATE_TASK ", Logger.Level.DEFAULT) 10 | 11 | } -------------------------------------------------------------------------------- /demo/demo_component_home/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /rubik/rubik_dsl/src/main/java/com/rubik/dsl/global/DSLGlobalContextConfig.kt: -------------------------------------------------------------------------------- 1 | package com.rubik.dsl.global 2 | 3 | import com.rubik.dsl.context.source.DSLMavenSource 4 | 5 | open class DSLGlobalContextConfig : DSLMavenSource() { 6 | 7 | var publishVersion: String? = null 8 | 9 | fun publish(version: String) { 10 | publishVersion = version 11 | } 12 | } -------------------------------------------------------------------------------- /demo/demo_component_detail/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /demo/demo_component_detail_java/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /demo/demo_component_detail/src/main/java/com/mars/component/detail/value/TestListBean.kt: -------------------------------------------------------------------------------- 1 | package com.mars.component.detail.value 2 | 3 | import com.rubik.annotations.route.RValue 4 | import com.google.gson.annotations.SerializedName 5 | 6 | @RValue 7 | data class TestListBean(@SerializedName("data1") val d1: Int, val d2: List?) { 8 | constructor(b1: Int) : this(b1, listOf()) 9 | } -------------------------------------------------------------------------------- /demo/demo_component_detail/src/main/java/com/mars/component/detail/api/ApisExt.kt: -------------------------------------------------------------------------------- 1 | package com.mars.component.detail.api 2 | 3 | import com.rubik.annotations.route.RExtend 4 | import com.rubik.annotations.route.RRoute 5 | 6 | // 扩展函数 7 | @RRoute(path = "do-sth-ext") 8 | fun doSthExt(s: String, @RExtend i: Int): Int { 9 | println(" AP DBG DETAIL doSthExt i:$i !!!") 10 | return i 11 | } -------------------------------------------------------------------------------- /rubik/rubik_context/src/main/java/com/rubik/context/Source.kt: -------------------------------------------------------------------------------- 1 | package com.rubik.context 2 | 3 | import com.ktnail.x.command.Command 4 | 5 | data class Source( 6 | var projectPath: String?, 7 | val publishVersion: String?, 8 | val publishOriginalValue: Boolean, 9 | val allowAutoVersion: Boolean, 10 | val maven: MavenSource, 11 | val codeSyncer: (() -> Command?)? 12 | ) -------------------------------------------------------------------------------- /rubik/rubik_publish/src/k1_5/java/ResetKotlinCompileTask.kt: -------------------------------------------------------------------------------- 1 | package com.rubik.publish.task.provider 2 | 3 | import org.jetbrains.kotlin.gradle.tasks.KotlinCompile 4 | import java.io.File 5 | 6 | fun KotlinCompile.resetDestinationDir(dir: File) { 7 | this.destinationDir = dir 8 | } 9 | 10 | fun KotlinCompile.resetSource(sourceDir: File) { 11 | source = project.fileTree(sourceDir) 12 | } -------------------------------------------------------------------------------- /rubik/rubik_publish/src/k1_7/java/ResetKotlinCompileTask.kt: -------------------------------------------------------------------------------- 1 | package com.rubik.publish.task.provider 2 | 3 | import org.jetbrains.kotlin.gradle.tasks.KotlinCompile 4 | import java.io.File 5 | 6 | fun KotlinCompile.resetDestinationDir(dir: File) { 7 | destinationDirectory.set(dir) 8 | } 9 | 10 | fun KotlinCompile.resetSource(sourceDir: File) { 11 | setSource(project.fileTree(sourceDir)) 12 | } -------------------------------------------------------------------------------- /settings-rubik.gradle: -------------------------------------------------------------------------------- 1 | /** 2 | * generated Rubik by Rubik Gradle Plugin (1.10.99.999T-AGBT4_2-K1_3-LOCAL). 3 | * 4 | * update by: cuizhe01 5 | * at: 2023-08-07 21:05:57 6 | */ 7 | include ':demo:demo_component_detail' 8 | include ':demo:demo_component_detail_java' 9 | include ':demo:demo_component_home' 10 | include ':demo:demo_until_library_b' 11 | include ':demo:demo_until_library_c_java' 12 | -------------------------------------------------------------------------------- /rubik/rubik_router/src/main/java/com/rubik/route/ResultGroups.kt: -------------------------------------------------------------------------------- 1 | package com.rubik.route 2 | 3 | class ResultGroups { 4 | private val groups: MutableList = mutableListOf() 5 | 6 | fun load(results: Results) { 7 | groups.add(results) 8 | } 9 | 10 | fun set(index: Int, vararg results: Result) { 11 | groups.getOrNull(index)?.set(*results) 12 | } 13 | 14 | } 15 | 16 | -------------------------------------------------------------------------------- /rubik/rubik_picker/src/main/java/com/rubik/picker/container/ContextPickHowContainer.kt: -------------------------------------------------------------------------------- 1 | package com.rubik.picker.container 2 | 3 | import com.rubik.context.extra.Context 4 | import com.rubik.picker.ContextPickHow 5 | 6 | class ContextPickHowContainer { 7 | private val pickCases = mutableMapOf() 8 | fun pickCase(context: Context) = pickCases.getOrPut(context.uri) { ContextPickHow(context) } 9 | } -------------------------------------------------------------------------------- /demo/demo_component_detail/src/main/java/com/mars/component/detail/callback/CallbackTestDefault.kt: -------------------------------------------------------------------------------- 1 | package com.mars.component.detail.callback 2 | 3 | 4 | import com.mars.component.detail.value.TestDataBean 5 | import com.rubik.annotations.route.RCallback 6 | 7 | @RCallback 8 | interface CallbackTestDefault { 9 | 10 | fun callbackDefault1(int1: Int) 11 | 12 | fun callbackDefault2(bean:TestDataBean?) 13 | } 14 | -------------------------------------------------------------------------------- /demo/demo_component_detail/src/main/java/com/mars/component/detail/value/TestCompanionBean.kt: -------------------------------------------------------------------------------- 1 | package com.mars.component.detail.value 2 | 3 | import com.rubik.annotations.route.RValue 4 | 5 | @RValue 6 | data class TestCompanionBean(val d1: Int, val d2: String) { 7 | companion object { 8 | const val C1 = 33 9 | const val C2 = "CONST_COMP" 10 | const val C3: Float = 0.1F 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /demo/demo_component_detail/src/main/java/com/mars/component/detail/value/mapping/TestDataMappingBean.kt: -------------------------------------------------------------------------------- 1 | package com.mars.component.detail.value.mapping 2 | 3 | import com.google.gson.annotations.SerializedName 4 | import com.rubik.annotations.route.RValue 5 | 6 | 7 | data class TestDataMappingBean @RValue constructor( 8 | @SerializedName("data1") val d1: Int?, 9 | @SerializedName("data2") 10 | val d2: String? 11 | ) -------------------------------------------------------------------------------- /rubik/rubik_picker/src/main/java/com/rubik/picker/Picker.kt: -------------------------------------------------------------------------------- 1 | package com.rubik.picker 2 | 3 | 4 | import com.rubik.context.extra.Context 5 | import com.rubik.pick.PickHow 6 | import com.rubik.pick.PickWhat 7 | import org.gradle.api.Project 8 | 9 | interface Picker { 10 | val what: PickWhat 11 | val how: PickHow? 12 | val context: Context 13 | 14 | fun pick(forProject: Project, forFlavor: String?) 15 | } 16 | 17 | -------------------------------------------------------------------------------- /rubik/rubik_router/src/main/java/com/rubik/route/mapping/JsonMapping.kt: -------------------------------------------------------------------------------- 1 | package com.rubik.route.mapping 2 | 3 | import com.google.gson.Gson 4 | import java.lang.reflect.Type 5 | 6 | val GSON = Gson() 7 | 8 | internal fun Any?.toJson() = GSON.toJson(this) ?: "" 9 | 10 | internal fun String.jsonToType(type: Type): T = GSON.fromJson(this, type) 11 | internal fun Any?.toJsonToType(type: Type): T = this.toJson().jsonToType(type) -------------------------------------------------------------------------------- /demo/demo_component_detail/src/main/java/com/mars/component/detail/value/TestSerializableBean.kt: -------------------------------------------------------------------------------- 1 | package com.mars.component.detail.value 2 | 3 | import com.google.gson.annotations.SerializedName 4 | import com.rubik.annotations.route.RValue 5 | import java.io.Serializable 6 | 7 | @RValue 8 | data class TestSerializableBean( 9 | @SerializedName("data1") val d1: Int?, 10 | @SerializedName("data2") val d2: String? 11 | ):Serializable -------------------------------------------------------------------------------- /rubik/rubik_dsl/src/main/java/com/rubik/dsl/context/dependency/DSLDependency.kt: -------------------------------------------------------------------------------- 1 | package com.rubik.dsl.context.dependency 2 | 3 | import com.rubik.dsl.RDSL 4 | 5 | 6 | open class DSLDependency(val uri: String) { 7 | 8 | var forFlavor: String? = null 9 | 10 | @RDSL 11 | fun forFlavor(flavor: String) { 12 | forFlavor = flavor 13 | } 14 | 15 | override fun toString() = "DSLDependency: uri:$uri " 16 | 17 | } -------------------------------------------------------------------------------- /rubik/rubik_plugins/src/main/java/com/rubik/plugins/shell/checker/context/CheckContextVersionRule.kt: -------------------------------------------------------------------------------- 1 | package com.rubik.plugins.shell.checker.context 2 | 3 | import com.rubik.plugins.shell.checker.CheckClassesRule 4 | import javassist.CtClass 5 | import org.gradle.api.Project 6 | 7 | class CheckContextVersionRule : CheckClassesRule { 8 | override fun doCheck(project: Project, ctClass: CtClass){ 9 | // todo 实现规则 10 | } 11 | } -------------------------------------------------------------------------------- /rubik/rubik_context/src/main/java/com/rubik/context/MavenSource.kt: -------------------------------------------------------------------------------- 1 | package com.rubik.context 2 | 3 | data class MavenSource( 4 | var version: String?, 5 | var variant: String?, 6 | val flavors: Map? 7 | ) 8 | 9 | fun MavenSource?.mergeOther(other: MavenSource): MavenSource = 10 | if (this == null) other else 11 | MavenSource(version ?: other.version, variant ?: other.variant, flavors ?: other.flavors) -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/ktnail/x/maven-metadata.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | com.ktnail 4 | x 5 | 6 | 0.0.67-K1_5 7 | 0.0.67-K1_5 8 | 9 | 0.0.67-K1_5 10 | 11 | 20240520052006 12 | 13 | 14 | -------------------------------------------------------------------------------- /rubik/rubik_router/src/main/java/com/rubik/route/Query.kt: -------------------------------------------------------------------------------- 1 | package com.rubik.route 2 | 3 | /** 4 | * The Query of rubik router. 5 | * Provide the mapping of original data type. 6 | * 7 | * @since 1.0 8 | */ 9 | class Query( 10 | val name: String, 11 | val value: Any?, 12 | val type: QueryType = QueryType.ANY 13 | ) 14 | 15 | enum class QueryType { 16 | ANY, 17 | PARCELABLE, 18 | SERIALIZABLE, 19 | VALUE 20 | } 21 | 22 | -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/synccode/syncer/maven-metadata.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | com.synccode 4 | syncer 5 | 6 | 0.0.8-K1_5 7 | 0.0.8-K1_5 8 | 9 | 0.0.8-K1_5 10 | 11 | 20230808105141 12 | 13 | 14 | -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/kotlin/blueprint/maven-metadata.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | com.kotlin 4 | blueprint 5 | 6 | 4.0.4-K1_5 7 | 4.0.4-K1_5 8 | 9 | 4.0.4-K1_5 10 | 11 | 20220609084451 12 | 13 | 14 | -------------------------------------------------------------------------------- /test_app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /rubik/rubik_context/src/main/java/com/rubik/context/id/LeastContext.kt: -------------------------------------------------------------------------------- 1 | package com.rubik.context.id 2 | 3 | import com.google.gson.Gson 4 | import com.google.gson.annotations.SerializedName 5 | 6 | class LeastContext( 7 | @SerializedName("uri") 8 | val uri: String, 9 | @SerializedName("name") 10 | val name: String, 11 | @SerializedName("version") 12 | val version: String 13 | ) { 14 | fun toJson(): String = Gson().toJson(this) 15 | } 16 | -------------------------------------------------------------------------------- /settings.gradle: -------------------------------------------------------------------------------- 1 | include ':rubik:rubik_annotations', 2 | ':rubik:rubik_router', 3 | ':rubik:rubik_kapt', 4 | ':rubik:rubik_plugins', 5 | ':rubik:rubik_dsl', 6 | ':rubik:rubik_publish', 7 | ':rubik:rubik_picker', 8 | ':rubik:rubik_context' 9 | 10 | include ':demo:demo_root_app' 11 | include ':demo:demo_until_library_a' 12 | 13 | rootProject.name = 'K-Component' 14 | 15 | apply from: 'settings-rubik.gradle' 16 | -------------------------------------------------------------------------------- /demo/demo_root_app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/ktnail/gradle/maven-metadata.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | com.ktnail 4 | gradle 5 | 6 | 0.1.1-AGBT4_2-K1_5 7 | 0.1.1-AGBT4_2-K1_5 8 | 9 | 0.1.1-AGBT4-K1_5 10 | 11 | 20240416094315 12 | 13 | 14 | -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/rubik/annotations/maven-metadata.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | com.rubik 4 | annotations 5 | 6 | 1.10.0.0-LOCAL 7 | 1.10.0.0-LOCAL 8 | 9 | 1.10.0.0-LOCAL 10 | 11 | 20240522044853 12 | 13 | 14 | -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/rubik/kapt/maven-metadata.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | com.rubik 4 | kapt 5 | 6 | 1.10.0.0-K1_5-LOCAL 7 | 1.10.0.0-K1_5-LOCAL 8 | 9 | 1.10.0.0-K1_5-LOCAL 10 | 11 | 20240522044950 12 | 13 | 14 | -------------------------------------------------------------------------------- /demo/demo_component_detail/src/main/java/com/mars/component/detail/ui/FirstPageFragment.kt: -------------------------------------------------------------------------------- 1 | package com.mars.component.detail.ui 2 | 3 | import androidx.fragment.app.Fragment 4 | import com.rubik.annotations.route.RRoute 5 | import com.rubik.annotations.route.function.RFunction 6 | 7 | class FirstPageFragment 8 | @RFunction( 9 | path = "fragment/page1", 10 | resultType = Fragment::class 11 | ) 12 | constructor() : Fragment() { 13 | val name = "FirstPageFragment" 14 | } -------------------------------------------------------------------------------- /rubik/rubik_context/src/main/java/com/rubik/context/utility/Module.kt: -------------------------------------------------------------------------------- 1 | package com.rubik.context.utility 2 | 3 | open class Module { 4 | private var inj: (() -> T)? = null 5 | 6 | fun inject( 7 | injector: () -> T 8 | ) { 9 | inj = injector 10 | } 11 | 12 | val content 13 | get() = inj?.invoke() ?: throw RuntimeException(" ${this::class.java.simpleName} module not init.") 14 | } 15 | 16 | interface ModuleInjector 17 | -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/rubik/router/maven-metadata.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | com.rubik 4 | router 5 | 6 | 1.10.0.0-K1_5-LOCAL 7 | 1.10.0.0-K1_5-LOCAL 8 | 9 | 1.10.0.0-K1_5-LOCAL 10 | 11 | 20240522045053 12 | 13 | 14 | -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/mars/rubik-test/detail-lib-context/maven-metadata.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | com.mars.rubik-test 4 | detail-lib-context 5 | 6 | 0.0.1-DEV 7 | 0.0.1-DEV 8 | 9 | 0.0.1-DEV 10 | 11 | 20240522052811 12 | 13 | 14 | -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/mars/rubik-test/home-lib-context/maven-metadata.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | com.mars.rubik-test 4 | home-lib-context 5 | 6 | 0.0.1-DEV 7 | 0.0.1-DEV 8 | 9 | 0.0.1-DEV 10 | 11 | 20240522052809 12 | 13 | 14 | -------------------------------------------------------------------------------- /demo/demo_component_detail_java/src/main/java/com/mars/component/detail/java/api/callback/Callback.java: -------------------------------------------------------------------------------- 1 | package com.mars.component.detail.java.api.callback; 2 | 3 | import androidx.annotation.Nullable; 4 | 5 | import com.rubik.annotations.route.RResult; 6 | 7 | public class Callback { 8 | public void onCallNone(String v1, int v2) { 9 | // nothing 10 | } 11 | 12 | @RResult 13 | public void onCall(@Nullable String v1, int v2) { 14 | // nothing 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/rubik/dsl/maven-metadata.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | com.rubik 4 | dsl 5 | 6 | 1.10.0.0-AGBT4_2-K1_5-LOCAL 7 | 1.10.0.0-AGBT4_2-K1_5-LOCAL 8 | 9 | 1.10.0.0-AGBT4_2-K1_5-LOCAL 10 | 11 | 20240522044643 12 | 13 | 14 | -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/mars/rubik-test/detail-java-lib-context/maven-metadata.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | com.mars.rubik-test 4 | detail-java-lib-context 5 | 6 | 0.0.1-DEV 7 | 0.0.1-DEV 8 | 9 | 0.0.1-DEV 10 | 11 | 20240522052809 12 | 13 | 14 | -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/rubik/picker/maven-metadata.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | com.rubik 4 | picker 5 | 6 | 1.10.0.0-AGBT4_2-K1_5-LOCAL 7 | 1.10.0.0-AGBT4_2-K1_5-LOCAL 8 | 9 | 1.10.0.0-AGBT4_2-K1_5-LOCAL 10 | 11 | 20240522044643 12 | 13 | 14 | -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/rubik/context/maven-metadata.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | com.rubik 4 | context 5 | 6 | 1.10.0.0-AGBT4_2-K1_5-LOCAL 7 | 1.10.0.0-AGBT4_2-K1_5-LOCAL 8 | 9 | 1.10.0.0-AGBT4_2-K1_5-LOCAL 10 | 11 | 20240522044643 12 | 13 | 14 | -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/rubik/plugins/maven-metadata.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | com.rubik 4 | plugins 5 | 6 | 1.10.0.0-AGBT4_2-K1_5-LOCAL 7 | 1.10.0.0-AGBT4_2-K1_5-LOCAL 8 | 9 | 1.10.0.0-AGBT4_2-K1_5-LOCAL 10 | 11 | 20240522044648 12 | 13 | 14 | -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/rubik/publish/maven-metadata.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | com.rubik 4 | publish 5 | 6 | 1.10.0.0-AGBT4_2-K1_5-LOCAL 7 | 1.10.0.0-AGBT4_2-K1_5-LOCAL 8 | 9 | 1.10.0.0-AGBT4_2-K1_5-LOCAL 10 | 11 | 20240522044648 12 | 13 | 14 | -------------------------------------------------------------------------------- /demo/demo_component_detail/src/main/java/com/mars/component/detail/value/TestCreateBean.kt: -------------------------------------------------------------------------------- 1 | package com.mars.component.detail.value 2 | 3 | import com.google.gson.annotations.SerializedName 4 | import com.rubik.annotations.route.RRoute 5 | import com.rubik.annotations.route.RValue 6 | 7 | @RValue 8 | data class TestCreateBean @RRoute( 9 | path = "test-bean/create" 10 | ) constructor( 11 | @SerializedName("data1") 12 | val d1: Int?, 13 | @SerializedName("data2") 14 | val d2: String? 15 | ) 16 | -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/mars/rubik-test/detail-java-component-release/maven-metadata.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | com.mars.rubik-test 4 | detail-java-component-release 5 | 6 | 0.0.1-DEV 7 | 0.0.1-DEV 8 | 9 | 0.0.1-DEV 10 | 11 | 20240522053505 12 | 13 | 14 | -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/rubik/annotations/1.10.0.0-LOCAL/annotations-1.10.0.0-LOCAL.pom: -------------------------------------------------------------------------------- 1 | 2 | 4 | 4.0.0 5 | com.rubik 6 | annotations 7 | 1.10.0.0-LOCAL 8 | 9 | -------------------------------------------------------------------------------- /demo/demo_component_detail/src/main/java/com/mars/component/detail/value/mapping/TestNestDataMappingBean.kt: -------------------------------------------------------------------------------- 1 | package com.mars.component.detail.value.mapping 2 | 3 | import com.mars.component.detail.value.TestDataBean 4 | import com.rubik.annotations.route.RValue 5 | 6 | 7 | data class TestNestDataMappingBean @RValue constructor( 8 | val d1: TestDataBean?, 9 | val d2: TestDataMappingBean?, 10 | val d3: TestNestDataMappingBean?, 11 | val d4: List?, 12 | val d5: List? 13 | ) -------------------------------------------------------------------------------- /rubik/rubik_router/src/main/java/com/rubik/route/LaunchQueries.kt: -------------------------------------------------------------------------------- 1 | package com.rubik.route 2 | 3 | import android.app.Activity 4 | import android.content.Context 5 | import androidx.fragment.app.Fragment 6 | 7 | /** 8 | * The Queries for rubik to launch a activity. 9 | * 10 | * @since 1.0 11 | */ 12 | class LaunchQueries : Queries() { 13 | var context: Context? = null 14 | var flags: Int? = null 15 | var requestCode: Int? = null 16 | var activity: Activity? = null 17 | var fragment: Fragment? = null 18 | } -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/mars/rubik-test/home-lib-context/0.0.1-DEV/home-lib-context-0.0.1-DEV.pom: -------------------------------------------------------------------------------- 1 | 2 | 4 | 4.0.0 5 | com.mars.rubik-test 6 | home-lib-context 7 | 0.0.1-DEV 8 | 9 | -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/mars/rubik-test/detail-component-company1-channel1-release/maven-metadata.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | com.mars.rubik-test 4 | detail-component-company1-channel1-release 5 | 6 | 0.0.1-DEV 7 | 0.0.1-DEV 8 | 9 | 0.0.1-DEV 10 | 11 | 20240522053426 12 | 13 | 14 | -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/mars/rubik-test/detail-component-company1-channel2-release/maven-metadata.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | com.mars.rubik-test 4 | detail-component-company1-channel2-release 5 | 6 | 0.0.1-DEV 7 | 0.0.1-DEV 8 | 9 | 0.0.1-DEV 10 | 11 | 20240522053422 12 | 13 | 14 | -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/mars/rubik-test/detail-lib-context/0.0.1-DEV/detail-lib-context-0.0.1-DEV.pom: -------------------------------------------------------------------------------- 1 | 2 | 4 | 4.0.0 5 | com.mars.rubik-test 6 | detail-lib-context 7 | 0.0.1-DEV 8 | 9 | -------------------------------------------------------------------------------- /demo/demo_component_home/src/main/java/com/mars/component/home/event/Events.kt: -------------------------------------------------------------------------------- 1 | package com.mars.component.home.event 2 | 3 | import com.rubik.annotations.context.REvent 4 | import com.rubik.context.LifeCycleEvent 5 | 6 | class Events { 7 | @REvent(msg = LifeCycleEvent.INIT) 8 | fun myInit(){ 9 | println(" CT DBG init HOME begin !!!") 10 | } 11 | 12 | @REvent(msg = LifeCycleEvent.DESTROY) 13 | @REvent(msg = "MY") 14 | fun myDestory(){ 15 | println(" CT DBG destroy HOME begin !!!") 16 | } 17 | 18 | } 19 | -------------------------------------------------------------------------------- /rubik_maven_local_repository/com/mars/rubik-test/detail-java-lib-context/0.0.1-DEV/detail-java-lib-context-0.0.1-DEV.pom: -------------------------------------------------------------------------------- 1 | 2 | 4 | 4.0.0 5 | com.mars.rubik-test 6 | detail-java-lib-context 7 | 0.0.1-DEV 8 | 9 | -------------------------------------------------------------------------------- /demo/demo_component_detail_java/src/main/java/com/mars/component/detail/java/value/TestJavaBean.java: -------------------------------------------------------------------------------- 1 | package com.mars.component.detail.java.value; 2 | 3 | import androidx.annotation.Nullable; 4 | 5 | import com.google.gson.annotations.SerializedName; 6 | import com.rubik.annotations.route.RValue; 7 | 8 | @RValue 9 | public class TestJavaBean { 10 | public TestJavaBean(int d1, String d2) { 11 | this.d1 = d1; 12 | this.d2 = d2; 13 | } 14 | 15 | @SerializedName("ddd111") 16 | public int d1; 17 | @SerializedName("ddd222") 18 | @Nullable 19 | private String d2; 20 | } 21 | -------------------------------------------------------------------------------- /rubik/rubik_kapt/src/main/java/com/rubik/apt/utility/FilePath.kt: -------------------------------------------------------------------------------- 1 | package com.rubik.apt.utility 2 | 3 | import com.rubik.apt.plugin.Arguments 4 | import com.rubik.apt.plugin.arguments 5 | import java.io.File 6 | import javax.annotation.processing.ProcessingEnvironment 7 | 8 | fun makeDefaultGeneratedDir(processingEnv: ProcessingEnvironment) = 9 | processingEnv.arguments(Arguments.KAPT_GENERATED)?.let { 10 | File(it).apply { mkdirs() } 11 | } 12 | 13 | fun makeAggregateGeneratedDir(aggregateGenerated: String?) = 14 | aggregateGenerated?.let { 15 | File(it).apply { mkdirs() } 16 | } 17 | -------------------------------------------------------------------------------- /rubik/rubik_publish/src/main/java/com/rubik/publish/exception/RubikPublishVersionNotSetException.kt: -------------------------------------------------------------------------------- 1 | package com.rubik.publish.exception 2 | 3 | 4 | /** 5 | * Thrown when publishing but no publish_version set. 6 | * 7 | * @since 1.7 8 | */ 9 | internal class RubikPublishVersionNotSetException(val uri: String) : RuntimeException() { 10 | override fun toString() = 11 | "RubikPublishVersionNotSetException component<${uri}> no publish_version set , you " + 12 | "may be trying to publish component, or your component is auto " + 13 | "generating Aggregate/ComponentId ! " 14 | } -------------------------------------------------------------------------------- /rubik/rubik_publish/src/main/java/com/rubik/publish/task/global/AllComponentTask.kt: -------------------------------------------------------------------------------- 1 | package com.rubik.publish.task.global 2 | 3 | import com.ktnail.gradle.maven.PublicationType 4 | import com.rubik.publish.task.PublishTask 5 | import com.rubik.publish.task.name.PublishTaskName 6 | import org.gradle.api.Project 7 | import com.rubik.publish.task.name.Publication 8 | 9 | class AllComponentTask( 10 | project: Project, 11 | publicationType: PublicationType 12 | ) : PublishTask( 13 | project, 14 | PublishTaskName.publishAll(Publication.COMPONENT, publicationType == PublicationType.DEV), 15 | publicationType 16 | ) -------------------------------------------------------------------------------- /rubik/rubik_publish/src/main/java/com/rubik/publish/task/global/AllContextLibsTask.kt: -------------------------------------------------------------------------------- 1 | package com.rubik.publish.task.global 2 | 3 | import com.ktnail.gradle.maven.PublicationType 4 | import com.rubik.publish.task.PublishTask 5 | import com.rubik.publish.task.name.Publication 6 | import com.rubik.publish.task.name.PublishTaskName 7 | import org.gradle.api.Project 8 | 9 | class AllContextLibsTask( 10 | project: Project, 11 | publicationType: PublicationType 12 | ) : PublishTask( 13 | project, 14 | PublishTaskName.publishAll(Publication.CONTEXT_LIBS, publicationType == PublicationType.DEV), 15 | publicationType 16 | ) -------------------------------------------------------------------------------- /rubik/rubik_kapt/src/main/java/com/rubik/apt/declare/LeastContext.kt: -------------------------------------------------------------------------------- 1 | package com.rubik.apt.declare 2 | 3 | import com.google.gson.Gson 4 | import com.google.gson.annotations.SerializedName 5 | import com.google.gson.reflect.TypeToken 6 | 7 | class LeastContext( 8 | @SerializedName("uri") 9 | val uri: String, 10 | @SerializedName("name") 11 | val name: String, 12 | @SerializedName("version") 13 | val version: String 14 | ) { 15 | companion object { 16 | fun createByJson(json: String): LeastContext = 17 | Gson().fromJson(json, object : TypeToken() {}.type) 18 | } 19 | } 20 | 21 | -------------------------------------------------------------------------------- /demo/demo_component_detail_java/src/main/res/layout/activity_d1.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 11 | 12 | 16 | 17 | -------------------------------------------------------------------------------- /rubik/rubik_publish/src/main/java/com/rubik/publish/task/global/TagComponentTask.kt: -------------------------------------------------------------------------------- 1 | package com.rubik.publish.task.global 2 | 3 | import com.ktnail.gradle.maven.PublicationType 4 | import com.rubik.publish.task.PublishTask 5 | import com.rubik.publish.task.name.Publication 6 | import com.rubik.publish.task.name.PublishTaskName 7 | import org.gradle.api.Project 8 | 9 | class TagComponentTask( 10 | project: Project, 11 | tag: String, 12 | publicationType: PublicationType 13 | ) : PublishTask( 14 | project, 15 | PublishTaskName.publishTag(Publication.COMPONENT, tag, publicationType == PublicationType.DEV), 16 | publicationType 17 | ) -------------------------------------------------------------------------------- /demo/demo_component_detail/src/main/java/com/mars/component/detail/test/TestDefaultPathTask.kt: -------------------------------------------------------------------------------- 1 | package com.mars.component.detail.test 2 | 3 | import android.app.Activity 4 | import com.rubik.annotations.route.RRoute 5 | import com.rubik.annotations.route.function.RFunction 6 | import kotlin.reflect.jvm.internal.impl.load.kotlin.JvmType 7 | 8 | class TestDefaultPathTask { 9 | 10 | @RFunction 11 | fun testName(){ 12 | 13 | } 14 | 15 | @RFunction 16 | fun TEST_NAME_UP(){ 17 | 18 | } 19 | 20 | @RFunction 21 | val testNameString = "" 22 | 23 | @RRoute(forResult = false,resultType = Any::class) 24 | constructor() 25 | } -------------------------------------------------------------------------------- /rubik/rubik_publish/src/main/java/com/rubik/publish/task/global/TagContextLibsTask.kt: -------------------------------------------------------------------------------- 1 | package com.rubik.publish.task.global 2 | 3 | import com.ktnail.gradle.maven.PublicationType 4 | import com.rubik.publish.task.PublishTask 5 | import com.rubik.publish.task.name.Publication 6 | import com.rubik.publish.task.name.PublishTaskName 7 | import org.gradle.api.Project 8 | 9 | class TagContextLibsTask( 10 | project: Project, 11 | tag: String, 12 | publicationType: PublicationType 13 | ) : PublishTask( 14 | project, 15 | PublishTaskName.publishTag(Publication.CONTEXT_LIBS, tag, publicationType == PublicationType.DEV), 16 | publicationType 17 | ) -------------------------------------------------------------------------------- /rubik/rubik_dsl/src/main/java/com/rubik/dsl/packing/DSLPackingNoSource.kt: -------------------------------------------------------------------------------- 1 | package com.rubik.dsl.packing 2 | 3 | import com.rubik.dsl.RDSL 4 | 5 | 6 | open class DSLPackingNoSource { 7 | 8 | @set:RDSL 9 | var enableAggregate: Boolean = true 10 | 11 | @set:RDSL 12 | var enableReflect: Boolean = false 13 | 14 | @RDSL 15 | fun aggregate(enable: Boolean) { 16 | this.enableAggregate = enable 17 | } 18 | 19 | @RDSL 20 | fun reflect(enable: Boolean) { 21 | this.enableReflect = enable 22 | } 23 | 24 | override fun toString() = "DSLPackingNoSource: enableAggregate:$enableAggregate enableReflect:$enableReflect" 25 | } -------------------------------------------------------------------------------- /rubik/rubik_publish/src/main/java/com/rubik/publish/task/global/AllComponentAndContextLibsTask.kt: -------------------------------------------------------------------------------- 1 | package com.rubik.publish.task.global 2 | 3 | import com.ktnail.gradle.maven.PublicationType 4 | import com.rubik.publish.task.PublishTask 5 | import com.rubik.publish.task.name.Publication 6 | import com.rubik.publish.task.name.PublishTaskName 7 | import org.gradle.api.Project 8 | 9 | class AllComponentAndContextLibsTask( 10 | project: Project, 11 | publicationType: PublicationType 12 | ) : PublishTask( 13 | project, 14 | PublishTaskName.publishAll(Publication.COMPONENT_AND_CONTEXT_LIBS, publicationType == PublicationType.DEV), 15 | publicationType 16 | ) -------------------------------------------------------------------------------- /rubik/rubik_context/src/main/java/com/rubik/context/folder/GeneratedSourceDir.kt: -------------------------------------------------------------------------------- 1 | package com.rubik.context.folder 2 | 3 | import com.ktnail.x.uriToSnake 4 | import org.gradle.api.Project 5 | import java.io.File 6 | 7 | private fun generatedSourceDir(project: Project, variantName: String, uri: String) = 8 | "${project.buildDir}${File.separator}rubik${File.separator}${variantName}${File.separator}${uri.uriToSnake()}${File.separator}generated${File.separator}source" 9 | 10 | 11 | fun getGeneratedSourceDir(project: Project, variantName: String, uri: String) = 12 | File(generatedSourceDir(project, variantName, uri)).apply { 13 | mkdirs() 14 | } -------------------------------------------------------------------------------- /rubik/rubik_publish/src/main/java/com/rubik/publish/task/global/TagComponentAndContextLibsTask.kt: -------------------------------------------------------------------------------- 1 | package com.rubik.publish.task.global 2 | 3 | import com.ktnail.gradle.maven.PublicationType 4 | import com.rubik.publish.task.PublishTask 5 | import com.rubik.publish.task.name.Publication 6 | import com.rubik.publish.task.name.PublishTaskName 7 | import org.gradle.api.Project 8 | 9 | class TagComponentAndContextLibsTask( 10 | project: Project, 11 | tag: String, 12 | publicationType: PublicationType 13 | ) : PublishTask( 14 | project, 15 | PublishTaskName.publishTag(Publication.COMPONENT_AND_CONTEXT_LIBS, tag, publicationType == PublicationType.DEV), 16 | publicationType 17 | ) -------------------------------------------------------------------------------- /rubik/rubik_publish/src/main/java/com/rubik/publish/task/both/VariantComponentAndContextLibsTaskGraphic.kt: -------------------------------------------------------------------------------- 1 | package com.rubik.publish.task.both 2 | 3 | import com.ktnail.gradle.task.TaskGraphic 4 | 5 | /** 6 | * Task graphic of business code of contexts, 7 | * graph publish tasks. 8 | * 9 | * @since 1.9 10 | */ 11 | class VariantComponentAndContextLibsTaskGraphic( 12 | tasks: VariantComponentAndContextLibsTask 13 | ) : TaskGraphic() { 14 | init { 15 | whenGraph { 16 | tasks.componentTask.linkExecuteDependsOn(tasks.libTask) 17 | tasks.linkExecuteDependsOn(tasks.componentTask) 18 | tasks.linkExecuteDependsOn(tasks.libTask) 19 | } 20 | } 21 | } -------------------------------------------------------------------------------- /test_app/src/androidTest/java/com/rubik/test/router/TestSimpleAggregateFactory.kt: -------------------------------------------------------------------------------- 1 | package com.rubik.test.router 2 | 3 | import com.rubik.context.Aggregatable 4 | import com.rubik.context.AggregateFactory 5 | 6 | class TestSimpleAggregateFactory : AggregateFactory { 7 | override fun create(uri: String): Aggregatable? { 8 | return TestSimpleAggregate() 9 | } 10 | 11 | override fun createByMsg(msg: String): List { 12 | return listOf(TestSimpleAggregate()) 13 | } 14 | 15 | override fun touch(uri: String): Boolean { 16 | return true 17 | } 18 | 19 | override fun touchByMsg(msg: String): Boolean { 20 | return true 21 | } 22 | 23 | } -------------------------------------------------------------------------------- /rubik/rubik_publish/src/main/java/com/rubik/publish/task/both/ComponentAndContextLibsTaskGraphic.kt: -------------------------------------------------------------------------------- 1 | package com.rubik.publish.task.both 2 | 3 | import com.ktnail.gradle.task.TaskGraphic 4 | 5 | /** 6 | * Task graphic of business code of contexts, 7 | * graph publish tasks. 8 | * 9 | * @since 1.9 10 | */ 11 | class ComponentAndContextLibsTaskGraphic( 12 | tasks: ComponentAndContextLibsTask 13 | ) : TaskGraphic() { 14 | init { 15 | whenGraph { 16 | tasks.componentTask.variantTasks.lastOrNull()?.linkExecuteDependsOn(tasks.libTask) 17 | tasks.linkExecuteDependsOn(tasks.componentTask) 18 | tasks.linkExecuteDependsOn(tasks.libTask) 19 | } 20 | } 21 | } -------------------------------------------------------------------------------- /test_app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /demo/demo_root_app/src/main/java/com/baidu/kcomponent/MainApplication.kt: -------------------------------------------------------------------------------- 1 | package com.baidu.kcomponent 2 | 3 | import android.app.Application 4 | import android.util.Log 5 | import com.rubik.Rubik 6 | import rubik.generate.shell.init 7 | 8 | class MainApplication : Application() { 9 | override fun onCreate() { 10 | super.onCreate() 11 | Rubik.logger { 12 | bigLogEnable = false 13 | d = { log -> Log.d("R DEBUG", log) } 14 | e = { log, e -> 15 | Log.e("R ERROR", "$log ") 16 | // e?.let { 17 | // throw it 18 | // } 19 | } 20 | } 21 | Rubik.init() 22 | Rubik.Properties.autoParcel = true 23 | } 24 | } -------------------------------------------------------------------------------- /rubik/rubik_publish/src/main/java/com/rubik/publish/task/component/ComponentTaskGraphic.kt: -------------------------------------------------------------------------------- 1 | package com.rubik.publish.task.component 2 | 3 | import com.ktnail.gradle.task.TaskGraphic 4 | import com.rubik.publish.task.PublishContextTask 5 | 6 | /** 7 | * Task graphic of business code of contexts, 8 | * graph publish tasks. 9 | * 10 | * @since 1.9 11 | */ 12 | class ComponentTaskGraphic( 13 | componentTask: ComponentTask 14 | ) : TaskGraphic() { 15 | init { 16 | whenGraph { 17 | componentTask.variantTasks.fold(componentTask) { acc, task -> 18 | task.apply { 19 | acc.linkExecuteDependsOn(this) 20 | } 21 | } 22 | } 23 | } 24 | } -------------------------------------------------------------------------------- /demo/demo_component_detail/src/main/res/layout/activity_a1.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 14 | 15 | -------------------------------------------------------------------------------- /rubik/rubik_context/src/main/java/com/rubik/context/extra/Injector.kt: -------------------------------------------------------------------------------- 1 | package com.rubik.context.extra 2 | 3 | import com.rubik.context.container.ContextsContainer 4 | import com.rubik.global.GlobalConfig 5 | import com.rubik.context.utility.Module 6 | import com.rubik.context.utility.ModuleInjector 7 | 8 | 9 | interface ContextModuleInjector : ModuleInjector { 10 | val globalConfig: GlobalConfig 11 | val contextsContainer: ContextsContainer 12 | } 13 | 14 | object ContextModule : Module() 15 | 16 | val globalConfig: GlobalConfig 17 | get() = ContextModule.content.globalConfig 18 | 19 | val contextsContainer: ContextsContainer 20 | get() = ContextModule.content.contextsContainer 21 | 22 | val allContexts: Map 23 | get() = contextsContainer.contexts -------------------------------------------------------------------------------- /demo/demo_root_app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /rubik/rubik_plugins/src/main/java/com/rubik/plugins/basic/utility/KotlinPoet.kt: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (C) Baidu Inc. All rights reserved. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.rubik.plugins.basic.utility 17 | 18 | fun String.noSpaces() = this.replace(" ", "·") -------------------------------------------------------------------------------- /demo/demo_component_detail/src/main/java/com/mars/component/detail/objekt/ObjectTestCteate.kt: -------------------------------------------------------------------------------- 1 | package com.mars.component.detail.objekt 2 | 3 | 4 | import com.mars.component.detail.value.TestDataBean 5 | import com.rubik.annotations.route.RObject 6 | import com.rubik.annotations.route.RRoute 7 | 8 | class ObjectTestCreate 9 | @RObject 10 | constructor( 11 | val v1: Int, val v2: String 12 | ) { 13 | 14 | @RObject 15 | constructor( 16 | v1: Int, 17 | v2: Int, 18 | v3: Int, 19 | v4: Int 20 | ) : this(v1, v1.toString()) 21 | 22 | @RRoute(path = "do-sth-create-common-instance") 23 | fun doSthInCreateObject(): TestDataBean { 24 | println(" AP DBG DETAIL doSthInCreateObject begin this:${this.hashCode()} value:$v2!!!") 25 | return TestDataBean(985, "gds") 26 | } 27 | 28 | } 29 | -------------------------------------------------------------------------------- /rubik/rubik_context/src/main/java/com/rubik/context/folder/LibsTmpDir.kt: -------------------------------------------------------------------------------- 1 | package com.rubik.context.folder 2 | 3 | import com.ktnail.x.uriToSnake 4 | import java.io.File 5 | 6 | fun getLibsTmpDirPath(libTmpDirRoot: File, uri: String, typeName: String) = 7 | "${libTmpDirRoot.absolutePath}${File.separator}${uri.uriToSnake()}${File.separator}$typeName" 8 | 9 | fun getLibsTmpDir(libTmpDirRoot: File, uri: String, typeName: String) = 10 | File( 11 | getLibsTmpDirPath( 12 | libTmpDirRoot, 13 | uri, 14 | typeName 15 | ) 16 | ) 17 | 18 | fun cleanLibsTmpDir(libTmpDirRoot: File, uri: String, typeName: String) = 19 | getLibsTmpDir( 20 | libTmpDirRoot, 21 | uri, 22 | typeName 23 | ).apply { 24 | deleteRecursively() 25 | mkdirs() 26 | } 27 | 28 | -------------------------------------------------------------------------------- /rubik/rubik_publish/src/main/java/com/rubik/publish/publication/Jar.kt: -------------------------------------------------------------------------------- 1 | package com.rubik.publish.publication 2 | 3 | import com.rubik.context.folder.getLibsTmpDirPath 4 | import com.rubik.publish.task.provider.JarTaskProvider 5 | import org.gradle.api.Project 6 | import org.gradle.api.Task 7 | import java.io.File 8 | 9 | interface Jar { 10 | val artifactId :String 11 | val jarToDir: File 12 | val jarFromDir: File 13 | val jarTaskName :String 14 | } 15 | 16 | fun Jar.getJarTask(project: Project): Task = 17 | JarTaskProvider(project).getByLib(this) 18 | 19 | fun Jar.jarToFile(libTmpDirRoot: File, uri: String, typeName: String) = File( 20 | "${ 21 | getLibsTmpDirPath( 22 | libTmpDirRoot, 23 | uri, 24 | typeName 25 | ) 26 | }${File.separator}${artifactId}.jar" 27 | ) 28 | -------------------------------------------------------------------------------- /rubik/rubik_picker/build.gradle: -------------------------------------------------------------------------------- 1 | apply plugin: 'java-library' 2 | apply plugin: 'kotlin' 3 | 4 | dependencies { 5 | implementation fileTree(dir: 'libs', include: ['*.jar']) 6 | implementation gradleApi() 7 | implementation localGroovy() 8 | 9 | implementation "com.android.tools.build:gradle:$agbt_version" 10 | implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version" 11 | implementation "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" 12 | 13 | implementation deps.ktnail.x 14 | implementation deps.ktnail.gradle 15 | 16 | implementation project(':rubik:rubik_context') 17 | 18 | } 19 | 20 | tasks.withType(JavaCompile) { 21 | options.encoding = "UTF-8" 22 | } 23 | 24 | compileKotlin { 25 | kotlinOptions.freeCompilerArgs += ['-module-name', "kmd.mars.rubik.packing"] 26 | } 27 | 28 | -------------------------------------------------------------------------------- /test_app/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # You can control the set of applied configuration files using the 3 | # proguardFiles setting in build.gradle. 4 | # 5 | # For more details, see 6 | # http://developer.android.com/guide/developing/tools/proguard.html 7 | 8 | # If your project uses WebView with JS, uncomment the following 9 | # and specify the fully qualified class name to the JavaScript interface 10 | # class: 11 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 12 | # public *; 13 | #} 14 | 15 | # Uncomment this to preserve the line number information for 16 | # debugging stack traces. 17 | #-keepattributes SourceFile,LineNumberTable 18 | 19 | # If you keep the line number information, uncomment this to 20 | # hide the original source file name. 21 | #-renamesourcefileattribute SourceFile -------------------------------------------------------------------------------- /demo/demo_root_app/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # You can control the set of applied configuration files using the 3 | # proguardFiles setting in build.gradle. 4 | # 5 | # For more details, see 6 | # http://developer.android.com/guide/developing/tools/proguard.html 7 | 8 | # If your project uses WebView with JS, uncomment the following 9 | # and specify the fully qualified class name to the JavaScript interface 10 | # class: 11 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 12 | # public *; 13 | #} 14 | 15 | # Uncomment this to preserve the line number information for 16 | # debugging stack traces. 17 | #-keepattributes SourceFile,LineNumberTable 18 | 19 | # If you keep the line number information, uncomment this to 20 | # hide the original source file name. 21 | #-renamesourcefileattribute SourceFile 22 | -------------------------------------------------------------------------------- /demo/demo_until_library_a/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # You can control the set of applied configuration files using the 3 | # proguardFiles setting in build.gradle. 4 | # 5 | # For more details, see 6 | # http://developer.android.com/guide/developing/tools/proguard.html 7 | 8 | # If your project uses WebView with JS, uncomment the following 9 | # and specify the fully qualified class name to the JavaScript interface 10 | # class: 11 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 12 | # public *; 13 | #} 14 | 15 | # Uncomment this to preserve the line number information for 16 | # debugging stack traces. 17 | #-keepattributes SourceFile,LineNumberTable 18 | 19 | # If you keep the line number information, uncomment this to 20 | # hide the original source file name. 21 | #-renamesourcefileattribute SourceFile -------------------------------------------------------------------------------- /demo/demo_until_library_b/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # You can control the set of applied configuration files using the 3 | # proguardFiles setting in build.gradle. 4 | # 5 | # For more details, see 6 | # http://developer.android.com/guide/developing/tools/proguard.html 7 | 8 | # If your project uses WebView with JS, uncomment the following 9 | # and specify the fully qualified class name to the JavaScript interface 10 | # class: 11 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 12 | # public *; 13 | #} 14 | 15 | # Uncomment this to preserve the line number information for 16 | # debugging stack traces. 17 | #-keepattributes SourceFile,LineNumberTable 18 | 19 | # If you keep the line number information, uncomment this to 20 | # hide the original source file name. 21 | #-renamesourcefileattribute SourceFile -------------------------------------------------------------------------------- /rubik/rubik_router/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # You can control the set of applied configuration files using the 3 | # proguardFiles setting in build.gradle. 4 | # 5 | # For more details, see 6 | # http://developer.android.com/guide/developing/tools/proguard.html 7 | 8 | # If your project uses WebView with JS, uncomment the following 9 | # and specify the fully qualified class name to the JavaScript interface 10 | # class: 11 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 12 | # public *; 13 | #} 14 | 15 | # Uncomment this to preserve the line number information for 16 | # debugging stack traces. 17 | #-keepattributes SourceFile,LineNumberTable 18 | 19 | # If you keep the line number information, uncomment this to 20 | # hide the original source file name. 21 | #-renamesourcefileattribute SourceFile 22 | -------------------------------------------------------------------------------- /demo/demo_component_detail/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # You can control the set of applied configuration files using the 3 | # proguardFiles setting in build.gradle. 4 | # 5 | # For more details, see 6 | # http://developer.android.com/guide/developing/tools/proguard.html 7 | 8 | # If your project uses WebView with JS, uncomment the following 9 | # and specify the fully qualified class name to the JavaScript interface 10 | # class: 11 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 12 | # public *; 13 | #} 14 | 15 | # Uncomment this to preserve the line number information for 16 | # debugging stack traces. 17 | #-keepattributes SourceFile,LineNumberTable 18 | 19 | # If you keep the line number information, uncomment this to 20 | # hide the original source file name. 21 | #-renamesourcefileattribute SourceFile 22 | -------------------------------------------------------------------------------- /demo/demo_component_detail_java/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # You can control the set of applied configuration files using the 3 | # proguardFiles setting in build.gradle. 4 | # 5 | # For more details, see 6 | # http://developer.android.com/guide/developing/tools/proguard.html 7 | 8 | # If your project uses WebView with JS, uncomment the following 9 | # and specify the fully qualified class name to the JavaScript interface 10 | # class: 11 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 12 | # public *; 13 | #} 14 | 15 | # Uncomment this to preserve the line number information for 16 | # debugging stack traces. 17 | #-keepattributes SourceFile,LineNumberTable 18 | 19 | # If you keep the line number information, uncomment this to 20 | # hide the original source file name. 21 | #-renamesourcefileattribute SourceFile -------------------------------------------------------------------------------- /demo/demo_component_home/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # You can control the set of applied configuration files using the 3 | # proguardFiles setting in build.gradle. 4 | # 5 | # For more details, see 6 | # http://developer.android.com/guide/developing/tools/proguard.html 7 | 8 | # If your project uses WebView with JS, uncomment the following 9 | # and specify the fully qualified class name to the JavaScript interface 10 | # class: 11 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 12 | # public *; 13 | #} 14 | 15 | # Uncomment this to preserve the line number information for 16 | # debugging stack traces. 17 | #-keepattributes SourceFile,LineNumberTable 18 | 19 | # If you keep the line number information, uncomment this to 20 | # hide the original source file name. 21 | #-renamesourcefileattribute SourceFile 22 | -------------------------------------------------------------------------------- /demo/demo_until_library_c_java/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # You can control the set of applied configuration files using the 3 | # proguardFiles setting in build.gradle. 4 | # 5 | # For more details, see 6 | # http://developer.android.com/guide/developing/tools/proguard.html 7 | 8 | # If your project uses WebView with JS, uncomment the following 9 | # and specify the fully qualified class name to the JavaScript interface 10 | # class: 11 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 12 | # public *; 13 | #} 14 | 15 | # Uncomment this to preserve the line number information for 16 | # debugging stack traces. 17 | #-keepattributes SourceFile,LineNumberTable 18 | 19 | # If you keep the line number information, uncomment this to 20 | # hide the original source file name. 21 | #-renamesourcefileattribute SourceFile -------------------------------------------------------------------------------- /test_app/src/main/res/layout/activity_test.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 | 17 | 18 | -------------------------------------------------------------------------------- /demo/demo_component_detail_java/src/main/java/com/mars/component/detail/java/api/ApisForInstance.java: -------------------------------------------------------------------------------- 1 | package com.mars.component.detail.java.api; 2 | 3 | import com.mars.component.detail.java.value.TestJavaBean; 4 | import com.rubik.annotations.route.RRoute; 5 | import com.rubik.annotations.route.instance.RRouteInstance; 6 | 7 | public class ApisForInstance extends BaseApis { 8 | 9 | private final String value; 10 | 11 | @RRouteInstance(provideForPath = "do-sth-bean-provide-instance-by-func") 12 | public ApisForInstance(String value) { 13 | this.value = value; 14 | } 15 | 16 | // Bean参数返回值 17 | @RRoute(path = "do-sth-bean-provide-instance-by-func") 18 | public TestJavaBean doSthBean(TestJavaBean d1) { 19 | println(" AP DBG doSthBean value " + value + " begin d1:" + d1.d1 + "!!!"); 20 | return new TestJavaBean(55, "dd"); 21 | } 22 | } -------------------------------------------------------------------------------- /rubik/rubik_router/src/main/java/com/rubik/context/LifeCycleEvent.kt: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (C) Baidu Inc. All rights reserved. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.rubik.context 17 | 18 | object LifeCycleEvent { 19 | const val INIT = "LifeCycleEvent_Init" 20 | const val DESTROY = "LifeCycleEvent_Destroy" 21 | } -------------------------------------------------------------------------------- /demo/demo_component_detail/src/main/java/com/mars/component/detail/api/AipsInTop.kt: -------------------------------------------------------------------------------- 1 | package com.mars.component.detail.api 2 | 3 | import com.mars.component.detail.value.TestDataBean 4 | import com.rubik.annotations.route.RRoute 5 | 6 | 7 | //顶层方法 8 | @RRoute(path = "doSthTop") 9 | fun doSthTop( 10 | ints: Array, 11 | li: List, 12 | strings: Array, 13 | ls: List, 14 | beans: Array, 15 | lb: List 16 | ): List { 17 | println(" AP DBG DETAIL doSthTop begin beans:${ints[0]} li:${li[0]} ls:${ls[0]} strings:${strings[0]} beans:${beans[0]} lb:${lb[0]} !!!") 18 | return lb 19 | } 20 | 21 | //顶层高阶函数 22 | @RRoute(path = "doSthHOFTop") 23 | val doSthHOFTop: (Unit) -> Unit = { 24 | println(" AP DBG DETAIL doSthHOFTop begin !!!") 25 | } 26 | 27 | //顶层属性 28 | @RRoute(path = "property/top") 29 | var propertyTop: String = "bnm" 30 | -------------------------------------------------------------------------------- /rubik/rubik_annotations/build.gradle: -------------------------------------------------------------------------------- 1 | apply plugin: 'java-library' 2 | apply plugin: 'maven-publish' 3 | 4 | dependencies { 5 | implementation fileTree(dir: 'libs', include: ['*.jar']) 6 | } 7 | 8 | tasks.withType(JavaCompile) { 9 | options.encoding = "UTF-8" 10 | } 11 | 12 | tasks.withType(GenerateModuleMetadata) { 13 | enabled = false 14 | } 15 | 16 | publishing { 17 | publications { 18 | rubikAnnotations(MavenPublication) { 19 | groupId "com.rubik" 20 | artifactId 'annotations' 21 | version pubs.rubik.annotations 22 | description 'annotations' 23 | from components.java 24 | } 25 | } 26 | 27 | apply from: '../rubik_maven_repositories.gradle' 28 | addRubikMavenRepos(repositories) 29 | } 30 | 31 | java { 32 | sourceCompatibility = JavaVersion.VERSION_1_8 33 | targetCompatibility = JavaVersion.VERSION_1_8 34 | } -------------------------------------------------------------------------------- /rubik/rubik_dsl/src/main/java/com/rubik/dsl/context/source/DSLProjectSource.kt: -------------------------------------------------------------------------------- 1 | package com.rubik.dsl.context.source 2 | 3 | import com.rubik.dsl.RDSL 4 | import com.synccode.command.dsl.DSLGit 5 | 6 | 7 | open class DSLProjectSource: DSLGit() { 8 | @set:RDSL 9 | var path: String? = null 10 | 11 | @set:RDSL 12 | var publishVersion: String? = null 13 | 14 | @set:RDSL 15 | var publishOriginalValue = false 16 | 17 | @RDSL 18 | fun path(path: String) { 19 | this.path = path 20 | } 21 | 22 | @RDSL 23 | fun publishVersion(version: String) { 24 | publishVersion = version 25 | } 26 | 27 | @RDSL 28 | fun supportOriginalValue(publish: Boolean) { 29 | publishOriginalValue = publish 30 | } 31 | 32 | override fun toString() = "ProjectExtension: path:$path publishVersion:$publishVersion supportOriginalValue:$publishOriginalValue" 33 | 34 | } -------------------------------------------------------------------------------- /demo/demo_component_detail_java/src/main/java/com/mars/component/detail/java/api/ApisAsyncReturn.java: -------------------------------------------------------------------------------- 1 | package com.mars.component.detail.java.api; 2 | 3 | import com.mars.component.detail.java.api.callback.Callback; 4 | import com.mars.component.detail.java.api.callback.Callbackable; 5 | import com.rubik.annotations.route.RResult; 6 | import com.rubik.annotations.route.RRoute; 7 | 8 | public class ApisAsyncReturn extends BaseApis { 9 | // 接口异步返回 10 | @RRoute(path = "do-sth-async-open") 11 | public void doSthAsyncOpen(@RResult Callback onResult) { 12 | println(" AP DBG JAVA doSthAsyncOpen begin !!!"); 13 | onResult.onCall("zxc", 33); 14 | } 15 | 16 | @RRoute(path = "do-sth-async-interface") 17 | public void doSthAsyncInterface(@RResult Callbackable onResult) { 18 | println(" AP DBG JAVA doSthAsyncInterface begin !!!"); 19 | onResult.onCall("zxc", 33); 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /rubik/rubik_plugins/src/main/java/com/rubik/plugins/shell/checker/router/CheckRouterVersionTransform.kt: -------------------------------------------------------------------------------- 1 | package com.rubik.plugins.shell.checker.router 2 | 3 | import com.android.build.api.transform.TransformInvocation 4 | import com.ktnail.x.Logger 5 | import com.rubik.plugins.basic.LogTags 6 | import com.ktnail.gradle.* 7 | import com.rubik.plugins.shell.checker.CheckClassesTransform 8 | import com.rubik.plugins.shell.checker.CheckClassesRule 9 | import org.gradle.api.Project 10 | 11 | class CheckRouterVersionTransform( 12 | private val project: Project 13 | ) : CheckClassesTransform(project, RULES) { 14 | 15 | companion object { 16 | val RULES = arrayOf(CheckLowerThan1Dot9Rule()) 17 | } 18 | 19 | override fun onTransform(transformInvocation: TransformInvocation?) { 20 | Logger.p(LogTags.CHECK_CLASS, project) { " CheckRouterVersion TRANSFORM START " } 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /demo/demo_component_detail/src/main/java/com/mars/component/detail/callback/CallbackTestInterface.kt: -------------------------------------------------------------------------------- 1 | package com.mars.component.detail.callback 2 | 3 | 4 | import com.mars.component.detail.value.TestDataBean 5 | import com.rubik.annotations.route.RCallback 6 | import com.rubik.annotations.route.RRoute 7 | 8 | @RCallback 9 | interface CallbackTestInterface { 10 | @RCallback 11 | fun callbackInt(i:Int) 12 | 13 | @RCallback 14 | fun callbackBean(bean:TestDataBean) 15 | 16 | @RCallback 17 | fun callbackBeanReBean(bean:TestDataBean?) 18 | } 19 | 20 | @RRoute(path = "do-sth-callback-object") 21 | fun doSthCallbackObject(callback: CallbackTestInterface) { 22 | println(" AP DBG DETAIL doSthCallbackObject begin this:${callback.hashCode()} !!!") 23 | callback.callbackInt(11) 24 | callback.callbackBean(TestDataBean(23, "sdsd")) 25 | callback.callbackBeanReBean(TestDataBean(24, "dfdf")) 26 | } 27 | -------------------------------------------------------------------------------- /rubik/rubik_plugins/src/main/java/com/rubik/plugins/shell/checker/context/CheckContextVersionTransform.kt: -------------------------------------------------------------------------------- 1 | package com.rubik.plugins.shell.checker.context 2 | 3 | import com.android.build.api.transform.TransformInvocation 4 | import com.ktnail.x.Logger 5 | import com.rubik.plugins.basic.LogTags 6 | import com.ktnail.gradle.* 7 | import com.rubik.plugins.shell.checker.CheckClassesTransform 8 | import com.rubik.plugins.shell.checker.CheckClassesRule 9 | import org.gradle.api.Project 10 | 11 | class CheckContextVersionTransform( 12 | private val project: Project 13 | ) : CheckClassesTransform(project, RULES) { 14 | 15 | companion object { 16 | val RULES = arrayOf(CheckContextVersionRule()) 17 | } 18 | 19 | override fun onTransform(transformInvocation: TransformInvocation?) { 20 | Logger.p(LogTags.CHECK_CLASS, project) { " CheckContextVersion TRANSFORM START " } 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /demo/demo_component_detail/src/main/java/com/mars/component/detail/api/AipsInCompanion.kt: -------------------------------------------------------------------------------- 1 | package com.mars.component.detail.api 2 | 3 | import com.rubik.annotations.route.RRoute 4 | 5 | class AipsInCompanion { 6 | companion object DetailCompanion { 7 | // Companion方法 8 | @RRoute(path = "doSthCompanion") 9 | fun doSthCompanion(i: Int, j: String, k: Long): String { 10 | println(" AP DBG DETAIL doSthCompanion begin !!! i:$i j:$j k:$k") 11 | return "result = i:$i j:$j k:$k" 12 | } 13 | 14 | // Companion属性 15 | @RRoute(path = "property/companion") 16 | var propertyCompanion: String = "bnm3" 17 | 18 | // Companion高阶函数 19 | @RRoute(path = "doSthHOFCompanion") 20 | val doSthHOFCompanion: (Int) -> Int = { 21 | println(" AP DBG DETAIL doSthHOFCompanion begin !!!") 22 | it + 102 23 | } 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /rubik/rubik_router/src/main/java/com/rubik/route/Results.kt: -------------------------------------------------------------------------------- 1 | package com.rubik.route 2 | 3 | import com.rubik.route.exception.BadResultException 4 | 5 | /** 6 | * The Results of rubik router. 7 | * 8 | * @see Result 9 | * 10 | * @since 1.0 11 | */ 12 | class Results(private val receiver: ((Results) -> Unit)?) { 13 | private val results: MutableList = mutableListOf() 14 | 15 | operator fun get(index: Int): Result { 16 | return results.getOrNull(index) ?: throw BadResultException(index) 17 | } 18 | 19 | operator fun set(index: Int, value: Result) { 20 | results[index] = value 21 | receiver?.invoke(this) 22 | } 23 | 24 | fun set(vararg value: Result){ 25 | results.clear() 26 | results.addAll(value) 27 | receiver?.invoke(this) 28 | } 29 | 30 | fun value( 31 | index: Int 32 | ): Any? { 33 | return this[index].value 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /rubik/rubik_plugins/src/main/java/com/rubik/plugins/basic/exception/RubikException.kt: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (C) Baidu Inc. All rights reserved. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.rubik.plugins.basic.exception 17 | 18 | /** 19 | * The super class of all exception in rubik plugins. 20 | * 21 | * @since 1.3 22 | */ 23 | abstract class RubikException : Exception() -------------------------------------------------------------------------------- /rubik/rubik_context/src/main/java/com/rubik/context/folder/ClassesTmpDir.kt: -------------------------------------------------------------------------------- 1 | package com.rubik.context.folder 2 | 3 | import com.ktnail.x.uriToSnake 4 | import org.gradle.api.Project 5 | import java.io.File 6 | 7 | private fun classesTmpDirPath(project: Project, libType: String, variantName: String, uri: String) = 8 | "${project.buildDir}${File.separator}rubik${File.separator}${variantName}${File.separator}${uri.uriToSnake()}${File.separator}${libType}_classes" 9 | 10 | fun getLibClassesTmpDir(project: Project, libType: String, variantName: String, uri: String) = File( 11 | classesTmpDirPath(project, libType, variantName, uri) 12 | ).apply { 13 | mkdirs() 14 | } 15 | 16 | fun cleanLibClassesTmpDir(project: Project, libType: String, variantName: String, uri: String) = 17 | File(classesTmpDirPath(project, libType, variantName, uri)).apply { 18 | deleteRecursively() 19 | mkdirs() 20 | } 21 | 22 | -------------------------------------------------------------------------------- /test_app/src/androidTest/java/com/rubik/test/router/TestSimpleAggregate.kt: -------------------------------------------------------------------------------- 1 | package com.rubik.test.router 2 | 3 | import com.rubik.context.Aggregatable 4 | import com.rubik.context.AggregateCompanion 5 | import com.rubik.route.Queries 6 | import com.rubik.route.Result 7 | import com.rubik.route.Results 8 | 9 | class TestSimpleAggregate : Aggregatable { 10 | override fun onEvent(msg: String, queries: Queries) { 11 | print(msg + queries) 12 | } 13 | 14 | override fun onRoute(path: String, queries: Queries, results: List) { 15 | print(path + queries + results) 16 | results.getOrNull(0)?.setOne(Result(100)) 17 | } 18 | 19 | companion object : AggregateCompanion() { 20 | override val URI: String = "a://b" 21 | 22 | override val DEPENDENCIES: List = listOf() 23 | 24 | override val EVENT_MSGS: List = listOf() 25 | 26 | override val CREATOR = { TestSimpleAggregate() } 27 | } 28 | } -------------------------------------------------------------------------------- /demo/demo_component_detail_java/src/main/java/com/mars/component/detail/java/api/Apis.java: -------------------------------------------------------------------------------- 1 | package com.mars.component.detail.java.api; 2 | 3 | import com.rubik.annotations.route.RRoute; 4 | 5 | public class Apis extends BaseApis { 6 | 7 | // 无参无返回值 8 | @RRoute(path = "doSth") 9 | public void doSth() { 10 | println(" AP DBG JAVA doSth begin !!!"); 11 | } 12 | 13 | // 属性 14 | @RRoute(path = "property/property", version = "1.0") 15 | public String property = "vbn"; 16 | 17 | 18 | 19 | // static方法 20 | @RRoute(path = "doSthStatic") 21 | public static String doSthCompanion(int i, String j, Long k) { 22 | println(" AP DBG JAVA doSthCompanion begin !!! i:" + i + " j:" + j + " k:" + k); 23 | return "result = i:" + i + " j:" + j + " k:" + k; 24 | } 25 | 26 | /** 27 | * static属性 28 | */ 29 | @RRoute(path = "property/static") 30 | public static String propertyCompanion = "bnm3"; 31 | 32 | } 33 | 34 | -------------------------------------------------------------------------------- /rubik/rubik_dsl/build.gradle: -------------------------------------------------------------------------------- 1 | apply plugin: 'java-library' 2 | apply plugin: 'kotlin' 3 | 4 | dependencies { 5 | implementation fileTree(dir: 'libs', include: ['*.jar']) 6 | implementation gradleApi() 7 | implementation localGroovy() 8 | 9 | implementation "com.android.tools.build:gradle:$agbt_version" 10 | implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version" 11 | implementation "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" 12 | 13 | implementation project(':rubik:rubik_context') 14 | implementation project(':rubik:rubik_picker') 15 | 16 | implementation deps.ktnail.x 17 | implementation deps.ktnail.gradle 18 | implementation deps.synccode.syncer 19 | 20 | implementation deps.rubik.annotations 21 | } 22 | 23 | tasks.withType(JavaCompile) { 24 | options.encoding = "UTF-8" 25 | } 26 | 27 | compileKotlin { 28 | kotlinOptions.freeCompilerArgs += ['-module-name', "kmd.mars.rubik.dsl"] 29 | } 30 | -------------------------------------------------------------------------------- /rubik/rubik_kapt/src/main/java/com/rubik/apt/codebase/activity/ActivityPropertyCodeBase.kt: -------------------------------------------------------------------------------- 1 | package com.rubik.apt.codebase.activity 2 | 3 | import com.blueprint.kotlin.lang.type.KbpType 4 | import com.ktnail.x.toCamel 5 | import com.rubik.apt.Constants 6 | import com.rubik.apt.codebase.TokenList 7 | import com.rubik.apt.codebase.invoker.TypeCodeBase 8 | 9 | class ActivityPropertyCodeBase( 10 | private val name: String, 11 | originalType: KbpType, 12 | private val queryWithType: String? = null 13 | ) : TypeCodeBase(originalType) { 14 | 15 | val legalName 16 | get() = Constants.Apis.toLegalParameterName(name) 17 | 18 | val originalName 19 | get() = name 20 | 21 | fun makeAddToQueryCode(): String = 22 | "\"$originalName\" ${if (null != queryWithType) toCamel("with", queryWithType) else "with"} $legalName" 23 | 24 | override val tokenList 25 | get() = TokenList(name, queryWithType, originalType, key = "PRT", warp = false) 26 | 27 | } 28 | 29 | -------------------------------------------------------------------------------- /demo/rubik-packing.gradle: -------------------------------------------------------------------------------- 1 | // 本地本地的组件组合配置,覆盖云端配置 2 | rubik { 3 | packing { // 被选择组合成app的组件 4 | 5 | // mavenMode all 6 | 7 | projectMode all 8 | 9 | mavenMode '.detail' , '.detail-java' 10 | 11 | // mavenMode tag("pr2") 12 | 13 | // noSourceMode tag("pr2") 14 | 15 | // except '.detail' 16 | 17 | // uri('.detail') { 18 | // noSourceMode { 19 | // aggregate false 20 | // } 21 | // } 22 | 23 | // flavor('samsung') { 24 | // uri('.library.c-java') { 25 | // mavenMode { 26 | // variant "samsung" 27 | // } 28 | // } 29 | // } 30 | // 31 | // flavor('netdisk') { 32 | // uri('.library.c-java') { 33 | // mavenMode { 34 | // variant "netdisk" 35 | // } 36 | // } 37 | // } 38 | } 39 | 40 | // except '.library.c-java', "detail-java" 41 | } 42 | 43 | -------------------------------------------------------------------------------- /rubik/rubik_publish/src/main/java/com/rubik/publish/log/LogTags.kt: -------------------------------------------------------------------------------- 1 | package com.rubik.publish.log 2 | 3 | import com.ktnail.gradle.maven.PublicationType 4 | import com.ktnail.x.LogTag 5 | import com.ktnail.x.Logger 6 | 7 | object LogTags { 8 | val PUBLISH = LogTag(" PUBLISH ", Logger.Level.DEFAULT) 9 | 10 | private val RUBIK_STEP_TASK_GRAPHIC = 11 | LogTag("<< - RUBIK_STEP_CHANGED - >> < - TASK_GRAPHIC - > ", Logger.Level.LOW) 12 | private val RUBIK_STEP_PUBLISH = 13 | LogTag("<< - RUBIK_STEP_CHANGED - >> < - PUBLISH - > ", Logger.Level.DEFAULT) 14 | 15 | fun logTaskGraphicFinish(type: String,name:String) = 16 | Logger.dta(RUBIK_STEP_TASK_GRAPHIC) { 17 | " Type:[${type}] Name:[${name}] FINISH ! \n" 18 | } 19 | 20 | fun logPublishFinish(path: String, publicationType: PublicationType?) = 21 | Logger.dta(RUBIK_STEP_PUBLISH) { 22 | " $path DEV:${publicationType == PublicationType.DEV} SUCCEEDED !!! \n" 23 | } 24 | } -------------------------------------------------------------------------------- /rubik/rubik_kapt/src/main/java/com/rubik/apt/codebase/AnnotationCodeBase.kt: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (C) Baidu Inc. All rights reserved. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.rubik.apt.codebase 17 | 18 | data class AnnotationCodeBase( 19 | val className: String, 20 | val members: List 21 | ) : RToken { 22 | override val tokenList 23 | get() = TokenList(TokenName(className), members, key = "ANT", warp = false) 24 | } -------------------------------------------------------------------------------- /rubik/rubik_router/src/main/java/com/rubik/route/exception/BadUriException.kt: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (C) Baidu Inc. All rights reserved. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.rubik.route.exception 17 | 18 | /** 19 | * Thrown when using a bad path or version to router.. 20 | * 21 | * @since 1.8 22 | */ 23 | internal class BadUriException(val uri: String?) : Exception() { 24 | override fun toString() = "BadUriException on uri:$uri" 25 | } -------------------------------------------------------------------------------- /rubik/rubik_router/src/main/java/com/rubik/route/exception/BadResultException.kt: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (C) Baidu Inc. All rights reserved. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.rubik.route.exception 17 | 18 | /** 19 | * Thrown when using a bad result to router. 20 | * 21 | * @since 1.0 22 | */ 23 | internal class BadResultException(private var index: Int) : Exception() { 24 | override fun toString() = "BadResultException on index:$index" 25 | } -------------------------------------------------------------------------------- /rubik/rubik_router/src/main/java/com/rubik/router/exception/BadUriException.kt: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (C) Baidu Inc. All rights reserved. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.rubik.router.exception 17 | 18 | import android.net.Uri 19 | 20 | /** 21 | * Thrown when using a bad uri. 22 | * 23 | * @since 1.0 24 | */ 25 | internal class BadUriException(private val uri: Uri) : Exception() { 26 | override fun toString() = "BadUriException on uri:$uri" 27 | } -------------------------------------------------------------------------------- /rubik/rubik_router/src/main/java/com/rubik/router/exception/RubikNotInitException.kt: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (C) Baidu Inc. All rights reserved. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.rubik.router.exception 17 | 18 | /** 19 | * Thrown when rubik router was not initialized. 20 | * 21 | * @since 1.0 22 | */ 23 | internal class RubikNotInitException : Exception(){ 24 | override fun toString() = "RubikNotInitException please call Rubik.init() first!" 25 | } -------------------------------------------------------------------------------- /rubik/rubik_maven_repositories.gradle: -------------------------------------------------------------------------------- 1 | def addRubikMavenRepos(RepositoryHandler handler) { 2 | if (useLocalMaven) { 3 | handler.maven { 4 | name 'local' 5 | url rubik_maven_local_repository 6 | allowInsecureProtocol = true 7 | } 8 | } else if(useGithubMaven){ 9 | handler.maven { 10 | name 'github' 11 | url rubik_github_maven_repository 12 | credentials { 13 | username rubik_github_maven_username 14 | password rubik_github_maven_password 15 | } 16 | allowInsecureProtocol = true 17 | } 18 | } else { 19 | handler.maven { 20 | name 'remote' 21 | url rubik_maven_repository 22 | credentials { 23 | username rubik_maven_username 24 | password rubik_maven_password 25 | } 26 | allowInsecureProtocol = true 27 | } 28 | } 29 | } 30 | 31 | ext.addRubikMavenRepos = this.&addRubikMavenRepos -------------------------------------------------------------------------------- /rubik/rubik_dsl/src/main/java/com/rubik/dsl/RDSL.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (C) Baidu Inc. All rights reserved. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.rubik.dsl; 17 | 18 | import java.lang.annotation.ElementType; 19 | import java.lang.annotation.Retention; 20 | import java.lang.annotation.RetentionPolicy; 21 | import java.lang.annotation.Target; 22 | 23 | @Retention(RetentionPolicy.RUNTIME) 24 | @Target({ElementType.METHOD, ElementType.FIELD}) 25 | public @interface RDSL { 26 | } -------------------------------------------------------------------------------- /rubik/rubik_publish/build.gradle: -------------------------------------------------------------------------------- 1 | apply plugin: 'java-library' 2 | apply plugin: 'kotlin' 3 | 4 | sourceSets { 5 | main { 6 | java { 7 | srcDirs = ['src/main/java', kotlin_version_suffix == publishK1_7Suffix ? 'src/k1_7/java' : 'src/k1_5/java'] 8 | } 9 | } 10 | } 11 | 12 | dependencies { 13 | implementation fileTree(dir: 'libs', include: ['*.jar']) 14 | implementation gradleApi() 15 | implementation localGroovy() 16 | 17 | implementation "com.android.tools.build:gradle:$agbt_version" 18 | implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version" 19 | implementation "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" 20 | 21 | implementation project(':rubik:rubik_context') 22 | 23 | implementation deps.ktnail.x 24 | implementation deps.ktnail.gradle 25 | 26 | } 27 | 28 | tasks.withType(JavaCompile) { 29 | options.encoding = "UTF-8" 30 | } 31 | 32 | compileKotlin { 33 | kotlinOptions.freeCompilerArgs += ['-module-name', "kmd.mars.rubik.publishing"] 34 | } 35 | -------------------------------------------------------------------------------- /rubik/rubik_router/src/main/java/com/rubik/identity/exception/DuplicateContextException.kt: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (C) Baidu Inc. All rights reserved. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.rubik.identity.exception 17 | 18 | /** 19 | * Thrown when using a duplicated uri to check context. 20 | * 21 | * @since 1.9 22 | */ 23 | internal class DuplicateContextException(val uri: String?) : Exception() { 24 | override fun toString() = "DuplicateContextException on uri:$uri" 25 | } -------------------------------------------------------------------------------- /rubik/rubik_router/src/main/java/com/rubik/route/exception/BadQueryException.kt: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (C) Baidu Inc. All rights reserved. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.rubik.route.exception 17 | 18 | /** 19 | * Thrown when using a bad query to router. 20 | * 21 | * @since 1.0 22 | */ 23 | internal class BadQueryException(private val index: Int, private val name: String?) : Exception() { 24 | override fun toString() = "BadQueryException on index:$index name:$name" 25 | } -------------------------------------------------------------------------------- /rubik/rubik_router/src/main/java/com/rubik/identity/exception/DuplicateComponentException.kt: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (C) Baidu Inc. All rights reserved. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.rubik.identity.exception 17 | 18 | /** 19 | * Thrown when using a duplicated uri to check component. 20 | * 21 | * @since 1.9 22 | */ 23 | internal class DuplicateComponentException(val uri: String?) : Exception() { 24 | override fun toString() = "DuplicateComponentException on uri:$uri" 25 | } -------------------------------------------------------------------------------- /rubik/rubik_router/src/main/java/com/rubik/router/exception/BadRubikVersionException.kt: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (C) Baidu Inc. All rights reserved. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.rubik.router.exception 17 | 18 | /** 19 | * Thrown when using a wrong rubik version. 20 | * 21 | * @since 1.2 22 | */ 23 | internal class BadRubikVersionException(private val msg: String) : Exception() { 24 | override fun toString() = "BadRubikVersionException using a wrong rubik version :$msg" 25 | } -------------------------------------------------------------------------------- /rubik/rubik_router/src/main/java/com/rubik/route/exception/DuplicateRegisteredUriException.kt: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (C) Baidu Inc. All rights reserved. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.rubik.route.exception 17 | 18 | /** 19 | * Thrown when using a duplicated uri to register context. 20 | * 21 | * @since 1.9 22 | */ 23 | internal class DuplicateRegisteredUriException(val uri: String?) : Exception() { 24 | override fun toString() = "DuplicateRegisteredUriException on uri:$uri" 25 | } -------------------------------------------------------------------------------- /rubik/rubik_annotations/src/main/java/com/rubik/annotations/route/RExtend.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (C) Baidu Inc. All rights reserved. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.rubik.annotations.route; 17 | 18 | import java.lang.annotation.ElementType; 19 | import java.lang.annotation.Retention; 20 | import java.lang.annotation.RetentionPolicy; 21 | import java.lang.annotation.Target; 22 | 23 | @Retention(RetentionPolicy.SOURCE) 24 | @Target({ElementType.PARAMETER}) 25 | public @interface RExtend { 26 | } -------------------------------------------------------------------------------- /rubik/rubik_context/src/main/java/com/rubik/context/exception/RubikPluginNotApplyException.kt: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (C) Baidu Inc. All rights reserved. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.rubik.context.exception 17 | 18 | import java.lang.RuntimeException 19 | 20 | /** 21 | * Thrown when plugin not apply yet. 22 | * 23 | * @since 1.3 24 | */ 25 | class RubikPluginNotApplyException : RuntimeException() { 26 | override fun toString() = "RubikPluginNotApplyException plugin not apply yet!" 27 | } -------------------------------------------------------------------------------- /rubik/rubik_context/src/main/java/com/rubik/context/utility/Uri.kt: -------------------------------------------------------------------------------- 1 | package com.rubik.context.utility 2 | 3 | import com.ktnail.x.uri.buildUri 4 | import com.rubik.context.exception.RubikDSLDefaultGroupNotSetException 5 | import com.rubik.context.exception.RubikDSLDefaultSchemeNotSetException 6 | 7 | fun String.toUriIfAuthorityOrName( 8 | globalScheme: String?, 9 | globalGroup: String? 10 | ) = when { 11 | contains("://") -> { // is full uri 12 | this 13 | } 14 | startsWith(".") -> { // name start with '.' 15 | buildUri( 16 | globalScheme ?: throw RubikDSLDefaultSchemeNotSetException(), 17 | toAuthority( 18 | globalGroup ?: throw RubikDSLDefaultGroupNotSetException(), 19 | this.removePrefix(".") 20 | ) 21 | ) 22 | } 23 | else -> { // authority 24 | buildUri( 25 | globalScheme ?: throw RubikDSLDefaultSchemeNotSetException(), 26 | this 27 | ) 28 | } 29 | } 30 | 31 | fun toAuthority(group: String, name: String) = "$group.$name" 32 | -------------------------------------------------------------------------------- /rubik_libs_repository/rubik-demo_com_mars_rubik_test_home-publication-records.gradle: -------------------------------------------------------------------------------- 1 | /** 2 | * generated by Rubik Gradle Plugin (1.10.0.0-AGBT4_2-K1_5-LOCAL). 3 | * 4 | * uri: [demo://com.mars.rubik-test.home] 5 | * update by: cuizhe01 6 | * at: 2024-05-22 13:28:09 7 | */ 8 | rubik { 9 | publications('demo://com.mars.rubik-test.home') { 10 | latest { 11 | contextLibs { 12 | version = '0.0.1' 13 | time = 1716355689859 /* 2024-05-22 13:28:09 */ 14 | user = 'cuizhe01' 15 | task = 'PluginVersion:[1.10.0.0-AGBT4_2-K1_5-LOCAL] Task:[RUBIK-publishDEV-ContextLibs-All]' 16 | } 17 | } 18 | latestDev { 19 | contextLibs { 20 | version = '0.0.1-DEV' 21 | time = 1716355689859 /* 2024-05-22 13:28:09 */ 22 | user = 'cuizhe01' 23 | task = 'PluginVersion:[1.10.0.0-AGBT4_2-K1_5-LOCAL] Task:[RUBIK-publishDEV-ContextLibs-All]' 24 | } 25 | } 26 | history () 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /rubik/rubik_router/src/main/java/com/rubik/route/exception/BadAggregatableClassException.kt: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (C) Baidu Inc. All rights reserved. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.rubik.route.exception 17 | 18 | /** 19 | * Thrown when given name is not a Aggregatable. 20 | * 21 | * @since 1.7 22 | */ 23 | internal class BadAggregatableClassException(private val name: String) : Exception() { 24 | override fun toString() = "BadAggregatableClassException class:$name is not a Aggregatable !" 25 | } -------------------------------------------------------------------------------- /demo/demo_until_library_c_java/build.gradle: -------------------------------------------------------------------------------- 1 | plugins { 2 | id 'com.android.library' 3 | id 'kotlin-android' 4 | } 5 | 6 | android { 7 | compileSdkVersion 30 8 | buildToolsVersion "30.0.0" 9 | 10 | defaultConfig { 11 | minSdkVersion 23 12 | targetSdkVersion 30 13 | versionCode 1 14 | versionName "1.0" 15 | 16 | consumerProguardFiles 'consumer-rules.pro' 17 | } 18 | 19 | buildTypes { 20 | release { 21 | minifyEnabled false 22 | proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 23 | 'proguard-rules.pro' 24 | } 25 | } 26 | 27 | compileOptions { 28 | sourceCompatibility JavaVersion.VERSION_1_8 29 | targetCompatibility JavaVersion.VERSION_1_8 30 | } 31 | 32 | // flavorDimensions "channel" 33 | // 34 | // productFlavors { 35 | // channel1 { dimension "channel" } 36 | // channel2 { dimension "channel" } 37 | // } 38 | } 39 | 40 | dependencies { 41 | implementation 'androidx.appcompat:appcompat:1.0.2' 42 | } -------------------------------------------------------------------------------- /rubik/rubik_annotations/src/main/java/com/rubik/annotations/route/RResult.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (C) Baidu Inc. All rights reserved. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.rubik.annotations.route; 17 | 18 | import java.lang.annotation.ElementType; 19 | import java.lang.annotation.Retention; 20 | import java.lang.annotation.RetentionPolicy; 21 | import java.lang.annotation.Target; 22 | 23 | @Retention(RetentionPolicy.SOURCE) 24 | @Target({ElementType.PARAMETER, ElementType.METHOD}) 25 | public @interface RResult { 26 | } -------------------------------------------------------------------------------- /rubik/rubik_router/src/main/java/com/rubik/route/exception/BadTypeException.kt: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (C) Baidu Inc. All rights reserved. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.rubik.route.exception 17 | 18 | import com.rubik.router.annotations.RInvariant 19 | 20 | /** 21 | * Thrown when casing value type type error when router. 22 | * 23 | * @since 1.0 24 | */ 25 | @RInvariant 26 | class BadTypeException(private val type: String= "unknow") : Exception() { 27 | override fun toString() = "BadTypeException on type:$type" 28 | } -------------------------------------------------------------------------------- /rubik/rubik_router/src/main/java/com/rubik/route/exception/BadPathOrVersionException.kt: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (C) Baidu Inc. All rights reserved. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.rubik.route.exception 17 | 18 | import com.rubik.router.annotations.RInvariant 19 | 20 | /** 21 | * Thrown when using a bad path or version to router.. 22 | * 23 | * @since 1.0 24 | */ 25 | @RInvariant 26 | class BadPathOrVersionException(val path: String) : Exception() { 27 | override fun toString() = "BadPathOrVersionException on path:$path" 28 | } -------------------------------------------------------------------------------- /rubik/rubik_publish/src/main/java/com/rubik/publish/task/target/TaskTargetContainer.kt: -------------------------------------------------------------------------------- 1 | package com.rubik.publish.task.target 2 | 3 | import com.ktnail.gradle.mapFirstTaskTarget 4 | import com.ktnail.gradle.p 5 | import com.ktnail.x.Logger 6 | import com.rubik.publish.log.LogTags 7 | import com.rubik.publish.task.name.PublishTaskName 8 | import org.gradle.api.Project 9 | 10 | class TaskTargetContainer { 11 | private val taskTargetNames = mutableMapOf() 12 | val taskTargets = mutableMapOf() 13 | 14 | // todo Context.extra 中的 target 15 | fun projectTargetTaskName(project: Project): PublishTaskName? = 16 | taskTargetNames[project.path] ?: project.targetTaskNameInProject?.apply { 17 | taskTargetNames[project.path] = this 18 | } 19 | 20 | private val Project.targetTaskNameInProject 21 | get() = mapFirstTaskTarget { taskName -> 22 | PublishTaskName.fromFullName(taskName) 23 | }?.also { name -> 24 | Logger.p(LogTags.PUBLISH, this) { " START TASK NAME ($path) :${name.toLog()}" } 25 | } 26 | } -------------------------------------------------------------------------------- /rubik/rubik_router/src/main/java/com/rubik/identity/exception/RIdentityNotFoundException.kt: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (C) Baidu Inc. All rights reserved. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.rubik.identity.exception 17 | 18 | /** 19 | * Thrown when RIdentity was not found . 20 | * 21 | * @since 1.9 22 | */ 23 | internal class RIdentityNotFoundException( 24 | private val uri: String, 25 | private val type: String 26 | ) : Exception() { 27 | override fun toString() = "RIdentityNotFoundException $type not found with uri:${uri}" 28 | } -------------------------------------------------------------------------------- /rubik/rubik_router/src/main/java/com/rubik/route/exception/ParcelableNoCreatorException.kt: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (C) Baidu Inc. All rights reserved. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.rubik.route.exception 17 | 18 | /** 19 | * Thrown when guess a value is parcelable, but no Creator found. 20 | * 21 | * @since 1.8 22 | */ 23 | internal class ParcelableNoCreatorException(private val clazz: String) : Exception() { 24 | override fun toString() = "ParcelableNoCreatorException guess [${clazz}] is parcelable, but no CREATOR found !" 25 | } --------------------------------------------------------------------------------