Kobalt 1.0.74 update.
This commit is contained in:
parent
0b9e1ddce1
commit
455f6ae935
8 changed files with 7 additions and 110 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -3,6 +3,7 @@
|
|||
**/.idea/libraries
|
||||
**/.idea/tasks.xml
|
||||
**/.idea/workspace.xml
|
||||
*.sublime-*
|
||||
*.iws
|
||||
.classpath
|
||||
.DS_Store
|
||||
|
|
2
.idea/kobalt.xml
generated
2
.idea/kobalt.xml
generated
|
@ -5,7 +5,7 @@
|
|||
<KobaltProjectSettings>
|
||||
<option name="autoDownloadKobalt" value="true" />
|
||||
<option name="externalProjectPath" value="$PROJECT_DIR$" />
|
||||
<option name="kobaltHome" value="$USER_HOME$/.kobalt/wrapper/dist/kobalt-1.0.66" />
|
||||
<option name="kobaltHome" value="$USER_HOME$/.kobalt/wrapper/dist/kobalt-1.0.74" />
|
||||
<option name="modules">
|
||||
<set>
|
||||
<option value="$PROJECT_DIR$" />
|
||||
|
|
2
.idea/modules.xml
generated
2
.idea/modules.xml
generated
|
@ -2,7 +2,7 @@
|
|||
<project version="4">
|
||||
<component name="ProjectModuleManager">
|
||||
<modules>
|
||||
<module fileurl="file://$PROJECT_DIR$/kobalt/Build.kt.iml" filepath="$PROJECT_DIR$/kobalt/Build.kt.iml" />
|
||||
<module fileurl="file://K:\java\semver\kobalt\Build.kt.iml" filepath="K:\java\semver\kobalt\Build.kt.iml" />
|
||||
<module fileurl="file://$PROJECT_DIR$/example/example.iml" filepath="$PROJECT_DIR$/example/example.iml" />
|
||||
<module fileurl="file://$PROJECT_DIR$/semver.iml" filepath="$PROJECT_DIR$/semver.iml" />
|
||||
<module fileurl="file://$PROJECT_DIR$/.idea/modules/semver_main.iml" filepath="$PROJECT_DIR$/.idea/modules/semver_main.iml" group="semver" />
|
||||
|
|
|
@ -48,7 +48,7 @@ val example = project {
|
|||
}
|
||||
|
||||
apt {
|
||||
outputDir = "../src/generated/java/"
|
||||
//outputDir = "../src/generated/java/"
|
||||
}
|
||||
|
||||
install {
|
||||
|
|
|
@ -1 +1 @@
|
|||
kobalt.version=1.0.72
|
||||
kobalt.version=1.0.74
|
|
@ -1,104 +0,0 @@
|
|||
/*
|
||||
* This file is automatically generated.
|
||||
* Do not modify! -- ALL CHANGES WILL BE ERASED!
|
||||
*/
|
||||
package net.thauvin.erik.semver.example;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* Provides semantic version information.
|
||||
*
|
||||
* @author <a href="https://github.com/ethauvin/semver">Semantic Version
|
||||
* Annotation Processor</a>
|
||||
*/
|
||||
public final class GeneratedVersion {
|
||||
private final static String DEFAULT_PRERELEASE_PREFIX = "-";
|
||||
private final static String DEFAULT_BUILDMETA_PREFIX = "+";
|
||||
|
||||
final static String project = "Example";
|
||||
final static Date buildDate = new Date(1492727792896L);
|
||||
final static int major = 2;
|
||||
final static int minor = 17;
|
||||
final static int patch = 52;
|
||||
final static String preRelease = "beta";
|
||||
final static String buildMeta = "007";
|
||||
|
||||
/**
|
||||
* The full version string.
|
||||
* <p>
|
||||
* Formatted as:
|
||||
* <blockquote>
|
||||
* <code>MAJOR.MINOR.PATCH[-PRERELEASE][+BUILDMETADATA]</code>
|
||||
* </blockquote>
|
||||
* <p>
|
||||
* For example:
|
||||
* <ul>
|
||||
* <li><code>1.0.0</code></li>
|
||||
* <li><code>1.0.0-beta</code></li>
|
||||
* <li><code>1.0.0+20160124144700</code></li>
|
||||
* <li><code>1.0.0-alpha+001</code></li>
|
||||
* </ul>
|
||||
*/
|
||||
final static String version = Integer.toString(major) + '.'
|
||||
+ Integer.toString(minor) + '.'
|
||||
+ Integer.toString(patch)
|
||||
+ preReleaseWithPrefix() + buildMetaWithPrefix();
|
||||
|
||||
/**
|
||||
* Disables the default constructor.
|
||||
*
|
||||
* @throws UnsupportedOperationException If the constructor is called.
|
||||
*/
|
||||
private GeneratedVersion()
|
||||
throws UnsupportedOperationException {
|
||||
throw new UnsupportedOperationException("Illegal constructor call.");
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the build metadata with default prefix.
|
||||
*
|
||||
* @param prefix The prefix to prepend.
|
||||
* @return The build metadata, if any.
|
||||
*/
|
||||
public static String buildMetaWithPrefix() {
|
||||
return buildMetaWithPrefix(DEFAULT_PRERELEASE_PREFIX);
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the build metadata.
|
||||
*
|
||||
* @param prefix Prefix to prepend.
|
||||
* @return The build metadata, if any.
|
||||
*/
|
||||
public static String buildMetaWithPrefix(final String prefix) {
|
||||
if (buildMeta.length() > 0 && prefix.length() > 0) {
|
||||
return prefix + buildMeta;
|
||||
} else {
|
||||
return buildMeta;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the pre-release version with default prefix.
|
||||
*
|
||||
* @return The pre-release version, if any.
|
||||
*/
|
||||
public static String preReleaseWithPrefix() {
|
||||
return preReleaseWithPrefix(DEFAULT_PRERELEASE_PREFIX);
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the pre-release version.
|
||||
*
|
||||
* @param prefix The prefix to prepend.
|
||||
* @return The pre-release version, if any.
|
||||
*/
|
||||
public static String preReleaseWithPrefix(final String prefix) {
|
||||
if (preRelease.length() > 0 && prefix.length() > 0) {
|
||||
return prefix + preRelease;
|
||||
} else {
|
||||
return preRelease;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1 +1 @@
|
|||
kobalt.version=1.0.71
|
||||
kobalt.version=1.0.74
|
Loading…
Add table
Add a link
Reference in a new issue