Awesome Open Source
Awesome Open Source

JIMU

PRs Welcome License

JIMUAndroidUI

JIMUAPP

2021-06-10 MavenCentral

  • build-gradle1.3.5
  • componentlib: 1.3.3
  • router-anno-compiler: 1.0.1 Pomdependencyhotfix-bad-pom -- leobert

2021-05-23 JFrogMavenCentral

release-note&change-logs

|build-gradle|componentlib|router-anno-compiler|router-annotation ---|---|---|---|--- |Download|Download|Download|Download

  • schemehostactivity
  • host
  • kotlin
  • ManifestManifestfrom version 1.3.4
  • from version 1.3.4Maat,

Android

Android

demoAndroiddemo

modulemodule

1

gradle.properties

mainmodulename=app

mainmodulenamehostapp

mavenCentral

build.gradle

buildscript {
    dependencies {
        classpath 'io.github.leobert-lan:jimu-build-gradle:A.B.C'
    }
}

A.B.CMavenCentral

basiclibbasiclib

compile 'io.github.leobert-lan:jimu-componentlib:A.B.C'

GroupIdArtifactIdMavenCentral

'componentLib'        : 'io.github.leobert-lan:jimu-componentlib:{version}',
'router_anno'         : 'io.github.leobert-lan:jimu-router-annotation:{version}',
'router_anno_compiler': 'io.github.leobert-lan:jimu-router-anno-compiler:{version}',

2module

gradle.properties

isRunAlone=true
debugComponent=sharecomponent
compileComponent=sharecomponent

debugrelease

3

hostbuild.gradle

apply plugin: 'com.dd.comgradle'

com.android.applicationcom.android.library

extension

combuild {
    applicationName = 'com.luojilab.reader.runalone.application.ReaderApplication'
    isRegisterCompoAuto = true
}

isRegisterCompoAuto

1.3.4
def projectRoot = project.getRootProject().rootDir.absolutePath

combuild {
    applicationName = 'com.luojilab.reader.runalone.application.ReaderApplication'
    isRegisterCompoAuto = false

    originalManifest = projectRoot + "/readercomponent/src/main/AndroidManifest.xml"

    runAloneManifest = projectRoot + "/readercomponent/src/main/runalone/AndroidManifest.xml"
    targetManifest = projectRoot + "/readercomponent/src/main/runalone/mergedManifest.xml"
    //false
    enableManifestMerge = true
}

5

  • useMaat trueMaatfalseClassNotFoundException
  • originalManifest manifest
  • runAloneManifest manifestApplicationActivitymetadata
  • targetManifest manifestrunalonemanifestgradlemanifestComponent
  • enableManifestMerge truemanifestrunaloneMergeDebugManifestmanifest

4

-keep interface * {
  <methods>;
}
-keep class com.luojilab.component.componentlib.** {*;}
-keep class com.luojilab.gen.router.** {*;}
-keep class * implements com.luojilab.component.componentlib.router.ISyringe {*;}
-keep class * implements com.luojilab.component.componentlib.applicationlike.IApplicationLike {*;}

com.luojilab.component.componentlibcom.luojilab.gen.router

UI Wiki v1.3.3releaseNote

JIMU693097923

PS:issue


Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
Android Application (4,629
Android Architecture (495
Related Projects