Skip to content

Commit 97f71be

Browse files
8.3.0 (#50)
* [Feature] Dynamic state parent group (#48) * feat: add parentGroup field in createState message * bump SDK and TP Api version * Change parameter order * feat: use the name from the category of the categoryId if parentGroup isn't specified * fix: typo's in stateId fix: use correct categoryId * fix: add check for category id from constants * fix: break outer loop * feat: add CategoryHelper.getCategoryShortId method * core: Upgrade dependencies * core: Upgrade Gradle version to 7.5.1 * core: Upgrade Gradle version to 7.5.1 * core: Upgrade Gradle version to 7.5.1 * core: Upgrade Gradle version to 7.5.1 * core: Upgrade Gradle version to 7.5.1 Co-authored-by: Pjiesco <55349095+Pjiesco@users.noreply.github.com>
1 parent 86ec49b commit 97f71be

File tree

8 files changed

+33
-8
lines changed

8 files changed

+33
-8
lines changed

.github/workflows/develop.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,24 @@ on:
55
branches: [ develop ]
66

77
jobs:
8+
prepare-maven-local:
9+
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- uses: actions/checkout@v2
14+
- name: Set up JDK 1.8
15+
uses: actions/setup-java@v1
16+
with:
17+
java-version: 1.8
18+
java-package: jdk
19+
- name: Gradle Plugin Publish Local
20+
run: |
21+
./gradlew :Packager:publishToMavenLocal
22+
823
build:
924

25+
needs: prepare-maven-local
1026
runs-on: ubuntu-latest
1127

1228
steps:

Packager/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ plugins {
77

88
group 'com.christophecvb.touchportal'
99
def localArchiveBaseName = 'plugin-packager'
10-
version versionName + (isRelease ? '' : '-' + System.currentTimeMillis())
10+
version versionName
1111

1212
pluginBundle {
1313
website = 'https://github.com/ChristopheCVB/TouchPortalPluginSDK'

Packager/src/main/groovy/com/christophecvb/touchportal/packager/TouchPortalPluginPackager.groovy

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ class TouchPortalPluginPackager implements Plugin<Project> {
3737
project.tasks.withType(Jar) { task ->
3838
task.dependsOn project.configurations.runtimeClasspath
3939

40+
task.duplicatesStrategy = DuplicatesStrategy.EXCLUDE
41+
4042
task.doFirst {
4143
manifest {
4244
attributes 'Implementation-Title': "${extension.mainClassSimpleName.get()}",

SampleJava/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
plugins {
22
id 'java'
33
id 'com.github.gmazzo.buildconfig' version '3.0.0'
4-
id 'com.christophecvb.touchportal.plugin-packager' version '8.0.0-SNAPSHOT'
4+
id 'com.christophecvb.touchportal.plugin-packager' version "$versionName+"
55
}
66

77
def mainClassSimpleName = 'TouchPortalSampleJavaPlugin'

SampleKotlin/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ plugins {
33
id 'org.jetbrains.kotlin.kapt' version '1.5.0'
44
id 'java'
55
id 'com.github.gmazzo.buildconfig' version '3.0.0'
6-
id 'com.christophecvb.touchportal.plugin-packager' version '8.0.0-SNAPSHOT'
6+
id 'com.christophecvb.touchportal.plugin-packager' version "$versionName+"
77
}
88

99
def mainClassSimpleName = 'TouchPortalSampleKotlinPlugin'

build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ allprojects {
55
}
66

77
ext.versionMajor = 8
8-
ext.versionMinor = 2
9-
ext.versionPatch = 1
8+
ext.versionMinor = 3
9+
ext.versionPatch = 0
1010

1111
ext.isRelease = System.getenv('IS_RELEASE') == 'YES'
1212

@@ -16,4 +16,4 @@ ext.versionName = "${versionMajor}.${versionMinor}.${versionPatch}" + (ext.isRel
1616
ext.envOrPropOrEmpty = { String name ->
1717
def value = System.getenv(name) ? System.getenv(name) : findProperty(name)
1818
return value ? value.toString() : ''
19-
}
19+
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-6.8.1-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5.1-bin.zip
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists

settings.gradle

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
pluginManagement {
2+
repositories {
3+
mavenLocal()
4+
mavenCentral()
5+
gradlePluginPortal()
6+
}
7+
}
8+
19
rootProject.name = 'TouchPortalPluginSDK'
210
include 'Annotations'
311
include 'Helpers'
@@ -6,4 +14,3 @@ include 'Library'
614
include 'SampleJava'
715
include 'SampleKotlin'
816
include 'Packager'
9-

0 commit comments

Comments
 (0)