Do not infer artifact version from build.txt #KT-21150

This commit is contained in:
Ilya Gorbunov
2017-11-09 17:33:06 +03:00
parent 9de6dd814b
commit 18611343f2
3 changed files with 3 additions and 15 deletions
@@ -63,6 +63,4 @@ public interface KotlinPaths {
@NotNull
File getCompilerPath();
@NotNull
File getBuildNumberFile();
}
@@ -112,12 +112,6 @@ public class KotlinPathsFromHomeDir implements KotlinPaths {
return getLibraryFile(PathUtil.KOTLIN_COMPILER_JAR);
}
@NotNull
@Override
public File getBuildNumberFile() {
return new File(homePath, "build.txt");
}
@NotNull
private File getLibraryFile(@NotNull String fileName) {
return new File(getLibPath(), fileName);