Skip to content

Commit

Permalink
Complete basic plugin info.
Browse files Browse the repository at this point in the history
  • Loading branch information
zhi1ong committed Dec 13, 2018
1 parent cd89863 commit 7ca6504
Show file tree
Hide file tree
Showing 6 changed files with 49 additions and 30 deletions.
30 changes: 18 additions & 12 deletions arouter-idea-plugin/build.gradle
Original file line number Diff line number Diff line change
@@ -1,19 +1,28 @@
plugins {
id 'org.jetbrains.kotlin.jvm'
id "org.jetbrains.intellij" version '0.2.17'
id "org.jetbrains.intellij" version '0.3.12'
}

ext {
bintrayName = 'arouter-idea-plugin'
artifact = bintrayName
libraryName = 'ARouter idea plugin'
libraryDescription = 'An idea plugin used for navigation to target class.'
libraryVersion = arouter_idea_plugin_version
//intellij {
// version '2018.2.6'
//}

patchPluginXml {
changeNotes """
1.0.0
First Release
"""
}

publishPlugin {
username intellijPublishUsername
password intellijPublishPassword
channels "beta"
}

dependencies {
compile gradleApi()
compile "org.jetbrains.kotlin:kotlin-stdlib-jdk8"

}

compileKotlin {
Expand All @@ -25,7 +34,4 @@ compileTestKotlin {
kotlinOptions {
jvmTarget = "1.8"
}
}

apply from: '../install.gradle'
apply from: '../bintray.gradle'
}
31 changes: 14 additions & 17 deletions arouter-idea-plugin/src/main/resources/META-INF/plugin.xml
Original file line number Diff line number Diff line change
@@ -1,21 +1,18 @@
<idea-plugin>
<id>com.alibaba.android.arouter</id>
<id>arouter-roadsign</id>
<name>Alibaba ARouter Idea Plugin</name>
<description>ARouter idea plugin support.</description>
<vendor>alibaba</vendor>
<version>1.0.0</version>
<vendor email="[email protected]" url="https://www.alibaba.com">Alibaba</vendor>

<change-notes>
<![CDATA[
<ul>
1.0.0
<li>Support navigation to target class.</li>
</ul>
]]>
</change-notes>
<idea-version since-build="141.0"/>
<depends>com.intellij.modules.platform</depends>
<depends>com.intellij.modules.lang</depends>
<depends>com.intellij.modules.vcs</depends>
<depends>com.intellij.modules.xml</depends>
<description><![CDATA[
Support to track navigation target.
]]></description>

<extensions defaultExtensionNs="com.intellij">
<codeInsight.lineMarkerProvider language="JAVA"
implementationClass="com.alibaba.android.arouter.idea.extensions.NavigationLineMarker"/>
</extensions>

<actions>
<!-- Add your actions here -->
</actions>
</idea-plugin>
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ arouter_api_version=1.4.1
arouter_annotation_version=1.0.6
arouter_register_version=1.0.2
arouter_idea_plugin_version=1.0.0
support_idea_version=14.1.7
arouter_idea_plugin_name=ARouter Road Sign

bintrayRepo=maven
publishedGroupId=com.alibaba
Expand Down
2 changes: 1 addition & 1 deletion settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ include ':arouter-annotation'
include ':module-java'
include ':module-kotlin'
include ':arouter-gradle-plugin'
include ':arouter-idea-plugin'
include ':arouter-idea-plugin'

0 comments on commit 7ca6504

Please sign in to comment.