diff --git a/.gitignore b/.gitignore index e2e5d94..15fbcec 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ .idea .qodana build +*.salive diff --git a/.idea/gradle.xml b/.idea/gradle.xml index ce1c62c..aeac74f 100644 --- a/.idea/gradle.xml +++ b/.idea/gradle.xml @@ -5,11 +5,13 @@ diff --git a/README.md b/README.md index 8fa1065..042c3a5 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,8 @@ -# Sillot-ASP +# IntelliJ 插件 - 汐洛 Sillot : 适用于 Android Studio ![Build](https://github.com/Soltus/Sillot-ASP/workflows/Build/badge.svg) -[![Version](https://img.shields.io/jetbrains/plugin/v/MARKETPLACE_ID.svg)](https://plugins.jetbrains.com/plugin/MARKETPLACE_ID) -[![Downloads](https://img.shields.io/jetbrains/plugin/d/MARKETPLACE_ID.svg)](https://plugins.jetbrains.com/plugin/MARKETPLACE_ID) +[![Version](https://img.shields.io/jetbrains/plugin/v/com.github.soltus.sillotasp.svg)](https://plugins.jetbrains.com/plugin/MARKETPLACE_ID) +[![Downloads](https://img.shields.io/jetbrains/plugin/d/com.github.soltus.sillotasp.svg)](https://plugins.jetbrains.com/plugin/MARKETPLACE_ID) ## Template ToDo list - [x] Create a new [IntelliJ Platform Plugin Template][template] project. @@ -49,3 +49,6 @@ Plugin based on the [IntelliJ Platform Plugin Template][template]. [template]: https://github.com/JetBrains/intellij-platform-plugin-template [docs:plugin-description]: https://plugins.jetbrains.com/docs/intellij/plugin-user-experience.html#plugin-description-and-presentation + +## 参考与依赖 +[插件中文开发文档](https://www.ideaplugin.com/idea-docs/startingAlsonEnding.html) \ No newline at end of file diff --git a/build.gradle.kts b/build.gradle.kts index 962daa4..ea71c72 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -18,7 +18,16 @@ version = properties("pluginVersion").get() // Configure project's dependencies repositories { + maven(url = "https://maven.aliyun.com/repository/google") + // maven { url 'https://maven.aliyun.com/repository/public' } // 不许用,不然满江红 + if (!System.getenv().containsKey("CI")) { + maven(url = "https://mirrors.tencent.com/nexus/repository/maven-public/") + maven(url = "https://download.jetbrains.8686c.com/idea/") // ideaIC download + } + maven(url = "https://developer.huawei.com/repo/") + google() mavenCentral() + maven(url = "https://jitpack.io") } // Dependencies are managed with Gradle version catalog - read more: https://docs.gradle.org/current/userguide/platforms.html#sub:version-catalog diff --git a/local.properties b/local.properties new file mode 100644 index 0000000..8aa2dac --- /dev/null +++ b/local.properties @@ -0,0 +1,8 @@ +## This file must *NOT* be checked into Version Control Systems, +# as it contains information specific to your local configuration. +# +# Location of the SDK. This is only used by Gradle. +# For customization when using a Version Control System, please read the +# header note. +#Wed Jul 17 09:53:06 CST 2024 +sdk.dir=C\:\\Users\\Administrator\\AppData\\Local\\Android\\Sdk diff --git a/src/main/resources/META-INF/plugin.xml b/src/main/resources/META-INF/plugin.xml index 7cac7b1..790ae8b 100644 --- a/src/main/resources/META-INF/plugin.xml +++ b/src/main/resources/META-INF/plugin.xml @@ -1,10 +1,11 @@ com.github.soltus.sillotasp - Sillot-ASP - soltus + 汐洛 Sillot + Hi-Windom com.intellij.modules.platform + org.jetbrains.android messages.MyBundle diff --git a/src/main/resources/META-INF/pluginIcon.svg b/src/main/resources/META-INF/pluginIcon.svg new file mode 100644 index 0000000..0089fe8 --- /dev/null +++ b/src/main/resources/META-INF/pluginIcon.svg @@ -0,0 +1,12 @@ + + + + + + + + + + + +