randytang2021 / SweetPluginSampleAndroid

Android or Java library/plugin CI/CD check with maven publish

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SweetPluginSampleAndroid Sweet android plugin CI checker

  • For maven publish, the Plugin/Library's AAR name is: com.sweet.plugin: sample
  • sweet_android_development.properties
    • add this file in your machine's dir: System.properties['user.home']
    • or specify an env variable: ANDROID_DEVELOPMENT_PROPERTIES_CI_PATH=/xx/xx/xx/
    •  sweet.maven.password=xxx 
       sweet.maven.username=xxx 
       sweet.maven.url=xxx 
      
  • In the AndroidManifest.xml file, the Plugin/Library package name is: com.sweet.plugin.sample
  • Please use this Intent to launch the SampleMainActivity:
        val intent = Intent()
        intent.component = ComponentName(
            BuildConfig.APPLICATION_ID,
            "com.sweet.plugin.sample.SampleMainActivity"
        )

App placeholder

Hands on

  • Use this repo as the template
  • Make sure you repo name convention is [Company_name][Plugin][Project_name][Android] just similar to SweetPluginSampleAndroid
  • You repo/plugin's Github Action should be run successfully if you trigger one

About

Android or Java library/plugin CI/CD check with maven publish


Languages

Language:Kotlin 100.0%