Skip to content

Commit

Permalink
Add idea plugin module.
Browse files Browse the repository at this point in the history
  • Loading branch information
zhi1ong committed Dec 13, 2018
1 parent 601ff74 commit cd89863
Show file tree
Hide file tree
Showing 5 changed files with 66 additions and 1 deletion.
31 changes: 31 additions & 0 deletions arouter-idea-plugin/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
plugins {
id 'org.jetbrains.kotlin.jvm'
id "org.jetbrains.intellij" version '0.2.17'
}

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
}

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

compileKotlin {
kotlinOptions {
jvmTarget = "1.8"
}
}
compileTestKotlin {
kotlinOptions {
jvmTarget = "1.8"
}
}

apply from: '../install.gradle'
apply from: '../bintray.gradle'
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
package com.alibaba.android.arouter.idea.extensions

/**
* Mark navigation target.
*
* @author zhilong <a href="mailto:[email protected]">Contact me.</a>
* @version 1.0
* @since 2018/12/13 12:30 PM
*/
class NavigationLineMarker {
}
21 changes: 21 additions & 0 deletions arouter-idea-plugin/src/main/resources/META-INF/plugin.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<idea-plugin>
<id>com.alibaba.android.arouter</id>
<name>Alibaba ARouter Idea Plugin</name>
<description>ARouter idea plugin support.</description>
<vendor>alibaba</vendor>
<version>1.0.0</version>

<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>
</idea-plugin>
1 change: 1 addition & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ arouter_compiler_version=1.2.2
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

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

0 comments on commit cd89863

Please sign in to comment.