Skip to content

Commit 35997bf

Browse files
committed
kotlin 2
1 parent caa4f56 commit 35997bf

File tree

2 files changed

+12
-7
lines changed

2 files changed

+12
-7
lines changed

analytics-provider/build.gradle.kts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
plugins {
44
id("common-java-library")
5+
//although this module doesn't have kotlin classes it needs to be common-kotlin because it uses classes from model which
6+
// are all kotlin data classes. tests in this module use jackson serialization, with kotlin 2 jackson fails to find classes
7+
// that are probably part of the kotlin generated bytecode. So making this module also common-kotlin solves this issue.
8+
id("common-kotlin")
59
id("jvm-test-suite")
610
}
711

building-how-to/build-all-profiles-short.sh

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,32 +2,33 @@
22

33
set -e
44

5+
mkdir .tmp
56

67
echo "############ building with 231 ################"
7-
./gradlew clean buildPlugin -PbuildProfile=p231
8+
./gradlew clean test buildPlugin -PbuildProfile=p231
89
cp build/distributions/digma-intellij-plugin*.zip ./.tmp
910
for i in {1..5}; do echo; done
1011

1112
echo "############ building with 232 ################"
12-
./gradlew clean buildPlugin -PbuildProfile=p232
13+
./gradlew clean test buildPlugin -PbuildProfile=p232
1314
cp build/distributions/digma-intellij-plugin*.zip ./.tmp
1415
for i in {1..5}; do echo; done
1516

1617
echo "############ building with 233 ################"
17-
./gradlew clean buildPlugin -PbuildProfile=p233
18+
./gradlew clean test buildPlugin -PbuildProfile=p233
1819
cp build/distributions/digma-intellij-plugin*.zip ./.tmp
1920
for i in {1..5}; do echo; done
2021

2122
echo "############ building with 241 ################"
22-
./gradlew clean buildPlugin -PbuildProfile=p241
23+
./gradlew clean test buildPlugin -PbuildProfile=p241
2324
cp build/distributions/digma-intellij-plugin*.zip ./.tmp
2425
for i in {1..5}; do echo; done
2526

2627
echo "############ building with 242 ################"
27-
./gradlew clean buildPlugin -PbuildProfile=p242
28-
cp build/distributions/digma-intellij-plugin*.zip .
28+
./gradlew clean test buildPlugin -PbuildProfile=p242
29+
cp build/distributions/digma-intellij-plugin*.zip ./.tmp
2930
for i in {1..5}; do echo; done
3031

3132
echo "############ building with 243 ################"
32-
./gradlew clean buildPlugin -PbuildProfile=p243
33+
./gradlew clean test buildPlugin -PbuildProfile=p243
3334
cp build/distributions/digma-intellij-plugin*.zip ./.tmp

0 commit comments

Comments
 (0)