diff --git a/build.gradle b/build.gradle index f403d3e..69ca77c 100644 --- a/build.gradle +++ b/build.gradle @@ -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'] } @@ -38,5 +38,5 @@ dependencies { } task wrapper(type: Wrapper) { - gradleVersion = '4.1' + gradleVersion = '4.3.1' } diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index 5cbbc09..321b26e 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -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 diff --git a/src/main/java/siosio/MavenFinder.kt b/src/main/java/siosio/MavenFinder.kt index e8d410d..045a390 100644 --- a/src/main/java/siosio/MavenFinder.kt +++ b/src/main/java/siosio/MavenFinder.kt @@ -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 diff --git a/src/main/resources/META-INF/plugin.xml b/src/main/resources/META-INF/plugin.xml index 0859517..bc38221 100644 --- a/src/main/resources/META-INF/plugin.xml +++ b/src/main/resources/META-INF/plugin.xml @@ -1,7 +1,7 @@ - + GradleDependenciesHelper Gradle Dependencies Helper - 1.8 + 1.9 siosio org.jetbrains.plugins.gradle org.intellij.groovy