Skip to content
This repository was archived by the owner on Jul 17, 2024. It is now read-only.

Commit f677beb

Browse files
authored
Release/1.1.0 (#3)
* fix regression in sourcesJar task * make classes open, allow inheritance * version 1.1.0 housekeeping
1 parent b0933fe commit f677beb

File tree

6 files changed

+14
-7
lines changed

6 files changed

+14
-7
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11

22
## Changelog
33

4+
**1.1.0**
5+
6+
- Fixed regression in task sourcesJar from 1.0.0
7+
8+
- Expression & ExpressionBuilder classes are now open (allows for inheritance)
9+
410
**1.0.0**
511

612
- Updated kotlin version to 1.5.20 and gradle 7.1

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ allprojects {
230230
}
231231

232232
dependencies {
233-
compile 'com.github.burnett01:kotlin-expression-builder:1.0.0'
233+
compile 'com.github.burnett01:kotlin-expression-builder:1.1.0'
234234
}
235235
```
236236

@@ -247,7 +247,7 @@ Maven dependency:
247247
<dependency>
248248
<groupId>com.github.Burnett01</groupId>
249249
<artifactId>kotlin-expression-builder</artifactId>
250-
<version>1.0.0</version>
250+
<version>1.1.0</version>
251251
</dependency>
252252
```
253253

SECURITY.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
| Version | Supported |
66
| ------- | ------------------ |
7+
| 1.1.x | :white_check_mark: |
78
| 1.0.x | :white_check_mark: |
89
| 0.8 | :white_check_mark: |
910
| 0.7 | :white_check_mark: |

build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ plugins {
1010
}
1111

1212
group = 'com.github.burnett01'
13-
version = '1.0.0'
13+
version = '1.1.0'
1414

1515
publishing {
1616
publications {
@@ -36,8 +36,8 @@ dependencies {
3636

3737
// Credits: https://github.com/jitpack/gradle-simple/blob/master/build.gradle
3838

39-
task sourcesJar(type: Jar) {
40-
dependsOn(classes)
39+
task sourcesJar(type: Jar, dependsOn: classes) {
40+
classifier = 'sources'
4141
from sourceSets.main.allSource
4242
}
4343

src/main/kotlin/com/github/burnett01/expression/Expression.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ enum class Q {
4545
* @class: Expression
4646
* @param: {Set<RegexOption>} op | Regex options (optional)
4747
*/
48-
class Expression(internal val op: Set<RegexOption> = emptySet()) {
48+
open class Expression(internal val op: Set<RegexOption> = emptySet()) {
4949

5050
/**
5151
* @property: result | Final expression

src/main/kotlin/com/github/burnett01/expression/ExpressionBuilder.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ package com.github.burnett01.expression
2828
/**
2929
* @class: ExpressionBuilder
3030
*/
31-
class ExpressionBuilder() {
31+
open class ExpressionBuilder() {
3232

3333
/**
3434
* @property: opts | Regex options

0 commit comments

Comments
 (0)