Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
siosio committed Nov 22, 2017
1 parent 70102c6 commit d008035
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ apply plugin: "kotlin"

intellij {
pluginName 'Gradle Dependencies Helper'
version = 'IC-2017.1'
version = 'IU-2017.2.5'
updateSinceUntilBuild = false
plugins = ['Groovy', 'gradle']
}
Expand All @@ -38,5 +38,5 @@ dependencies {
}

task wrapper(type: Wrapper) {
gradleVersion = '4.1'
gradleVersion = '4.3.1'
}
4 changes: 2 additions & 2 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Fri Aug 11 21:33:36 JST 2017
#Fri Aug 11 21:55:48 JST 2017
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-4.1-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-4.1-all.zip
4 changes: 2 additions & 2 deletions src/main/java/siosio/MavenFinder.kt
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ class MavenFinder {
/** バージョン番号を抽出する正規表現 */
private val VERSION_PATTERN = Regex("\\{\"id\":\"([^\"]+)\"")

private const val FIND_URL = "http://search.maven.org/solrsearch/select?q=a:\"%s\"&core=gav&rows=30&wt=json"
private const val FIND_URL = "http://search.maven.org/solrsearch/select?q=a:%s&core=gav&rows=50&wt=json"

/** バージョ番号を取得するURL */
private const val FIND_VERSION_URL =
"http://search.maven.org/solrsearch/select?q=g:\"%s\"+AND+a:\"%s\"&rows=20&core=gav&wt=json"
"http://search.maven.org/solrsearch/select?q=g:%s+AND+a:%s&rows=20&core=gav&wt=json"

fun MatchResult.group(index: Int) = this.groups.get(index)!!.value

Expand Down
4 changes: 2 additions & 2 deletions src/main/resources/META-INF/plugin.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<idea-plugin version="2">
<idea-plugin>
<id>GradleDependenciesHelper</id>
<name>Gradle Dependencies Helper</name>
<version>1.8</version>
<version>1.9</version>
<vendor email="siosio12@gmail.com" url="https://github.com/siosio/GradleDependenciesHelperPlugin">siosio</vendor>
<depends>org.jetbrains.plugins.gradle</depends>
<depends>org.intellij.groovy</depends>
Expand Down

0 comments on commit d008035

Please sign in to comment.