Skip to content

This is a Gradle plugin that brings JAR (Java Archive) files from AAR (Android Archive) files into your project.

License

Notifications You must be signed in to change notification settings

TIMAVICIIX/AAR-TO-JAR-GradlePlugin

Repository files navigation

🎉-“OPEN SOURCE” (computing)- 开源中 -“OPEN SOURCE” (computing)-🎉

使用方法:

将下面插件连接复制到您项目中的build.gradle.kts(Project)文件的plugins闭包内:

id("io.github.timaviciix.robotools.aar-to-jar-tool") version "0.8.0-beta"

如果您在添加Plugin后再构建时出现情况类似: Plugin with id 'io.github.timaviciix.robotools.aar-to-jar-tool' not found.时,请将以下代码添加至您build.gradle.kts(project)的buildScript闭包内或者新建该闭包:

buildscript {
    repositories {
        maven {
            url = uri("https://plugins.gradle.org/m2/")
        }
    }
    dependencies {
        classpath("io.github.timaviciix:RoboLogic_AARToJAR_Plugin:0.8.0-beta")
    }
}

注意事项:

欢迎使用RoboLogic的AAR(Android Archive)到JAR(Java Archive)转储Gradle工具,在使用前,您需要注意以下事项:

  1. 在使用该Gradle插件时,请确认您的Gradle构建工具版本在8.4以上
  2. 当您在尝试使用非建议的Gradle版本时,请注意为您的项目做好备份工作,本插件概不负责
  3. 该转储工具目前(0.8.0-beta版本)只适用于将AAR包中的JAR包提取到项目中并导入
  4. 目前版本(0.8.0-beta)只支持中文与英文
  5. 当项目构建出错时,请详细阅读错误报告,或者将该插件从Gradle中移除
  6. 插件构建成功后,会在项目根目录中创建一个"AARToJAR-Libraries"文件夹,非必要情况请谨慎对其操作
  7. 未知错误情况以及建议请反馈至邮箱: timaviciix@outlook.com
  8. 项目开源地址: https://github.com/TIMAVICIIX/AAR-TO-JAR.GradlePlugin

使用中文特别事项:

 如果您正在使用中文版该插件,并且Gradle构建时出现中文乱码现象,请遵循以下步骤修改您的IDEA:

  • 将鼠标移动到您的IDEA窗口头部的Help选项
  • 左键单击展开列表中的"Edit Custom VM Options..."
  • 在窗口中出现的"idea.vmoptions"文件中添加以下内容: -Dfile.encoding=UTF-8
  • 保存并重启您的IDEA



How to use.

Copy the following plugin link into the plugins closure of the build.gradle.kts (Project) file in your project:

id("io.github.timaviciix.robotools.aar-to-jar-tool") version "0.8.0-beta"

If you add a Plugin and then build and something like: Plugin with id 'io.github.timaviciix.robotools.aar-to-jar-tool' is not found, add the following code to the buildScript closure of your build.gradle.kts(project) or create a new one. in your build.gradle.kts(project) buildScript closure or create a new closure:

buildscript {
    repositories {
        maven {
            url = uri("https://plugins.gradle.org/m2/")
        }
    }
    dependencies {
        classpath("io.github.timaviciix:RoboLogic_AARToJAR_Plugin:0.8.0-beta")
    }
}

Notes:

Welcome to use RoboLogic's AAR (Android Archive) to JAR (Java Archive) dump Gradle tool , in the use of the following matters before you need to pay attention to .

  1. In the use of the Gradle plug-in , please confirm that your Gradle build tool version in 8.4 or higher
  2. When you try to use a non-recommended version of Gradle, please note that your project to do a good job backing up the work, the plug-in is not responsible for
  3. The dump tool is currently (0.8.0-beta version) only applies to the AAR package in the JAR package extracted into the project and imported
  4. The current version (0.8.0-beta) only supports Chinese and English
  5. When the project build error , please read the error report , or remove the plugin from Gradle
  6. plug-in built successfully, will create a “AARToJAR-Libraries” folder in the root directory of the project, non-essential cases, please be careful with its operation!
  7. Unknown error conditions and suggestions, please send feedback to the e-mail address:timaviciix@outlook.com
  8. project open source URL:https://github.com/TIMAVICIIX/AAR-TO-JAR.GradlePlugin



2024.5.12
Timaviciix

Robo Logic

About

This is a Gradle plugin that brings JAR (Java Archive) files from AAR (Android Archive) files into your project.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages