This repository was archived by the owner on Jul 17, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 6 files changed +14
-7
lines changed
src/main/kotlin/com/github/burnett01/expression Expand file tree Collapse file tree 6 files changed +14
-7
lines changed Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change @@ -230,7 +230,7 @@ allprojects {
230230}
231231
232232dependencies {
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
Original file line number Diff line number Diff line change 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 : |
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ plugins {
1010}
1111
1212group = ' com.github.burnett01'
13- version = ' 1.0 .0'
13+ version = ' 1.1 .0'
1414
1515publishing {
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
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments