Skip to content

Commit

Permalink
Version 0.26.1
Browse files Browse the repository at this point in the history
- GeoRegressionVersion is generated again
  • Loading branch information
lessthanoptimal committed May 16, 2023
1 parent bf46ddc commit eb19558
Show file tree
Hide file tree
Showing 6 changed files with 52 additions and 13 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ GeoRegression is on [Maven Central](https://mvnrepository.com/artifact/org.geore
be added to your Gradle project as follows:

```Groovy
compile group: 'org.georegression', name: 'georegression', version: '0.26'
compile group: 'org.georegression', name: 'georegression', version: '0.26.1'
```

## Build Instructions
Expand Down
11 changes: 1 addition & 10 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ allprojects {
apply plugin: 'com.peterabeles.gversion'

group = 'org.georegression'
version = '0.27-SNAPSHOT'
version = '0.26.1'

createVersionFile.enabled = false // run only once. enabled in types
}
Expand All @@ -21,13 +21,6 @@ project.ext.lombok_version = '1.18.24'
project.ext.jabel_version = '1.0.0'
project.ext.junit_version = '5.8.2'

gversion {
srcDir = "main/src"
classPackage = "georegression"
className = "GeoRegressionVersion"
annotate = true
}

subprojects {
apply plugin: 'java-library'
apply plugin: 'maven-publish'
Expand Down Expand Up @@ -304,8 +297,6 @@ task javadocWeb() {
}
javadocWeb.finalizedBy(alljavadoc)

project(':georegression').compileJava.dependsOn(createVersionFile)

wrapper {
distributionType = Wrapper.DistributionType.BIN
gradleVersion = '7.3.3'
Expand Down
6 changes: 6 additions & 0 deletions change.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
YEAR-MONTH-DAY

---------------------------------------------
Date : 2023-May-15
Version : 0.26.1

- GeoRegressionVersion is generated again

---------------------------------------------
Date : 2023-May-15
Version : 0.26
Expand Down
4 changes: 2 additions & 2 deletions docs/website/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,9 @@
# built documents.
#
# The short X.Y version.
version = '0.26'
version = '0.26.1'
# The full version, including alpha/beta/rc tags.
release = '0.26'
release = '0.26.1'

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down
10 changes: 10 additions & 0 deletions main/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
createVersionFile.enabled = true

gversion {
srcDir = "src"
classPackage = "georegression"
className = "GeoRegressionVersion"
annotate = true
}

project.compileJava.dependsOn(createVersionFile)
32 changes: 32 additions & 0 deletions main/test/georegression/TestGeoRegressionVersion.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
/*
* Copyright (C) 2022, Peter Abeles. All Rights Reserved.
*
* This file is part of Geometric Regression Library (GeoRegression).
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

package georegression;

import org.junit.jupiter.api.Test;

import static org.junit.jupiter.api.Assertions.assertFalse;

public class TestGeoRegressionVersion {
/**
* The main purpose of this test is to make sure the auto generated code was generated.
*/
@Test void doesClassExist() {
assertFalse(GeoRegressionVersion.VERSION.isEmpty());
}
}

0 comments on commit eb19558

Please sign in to comment.