Skip to content

Commit

Permalink
build: removes GraalVM standalone plugin as bundled with core.
Browse files Browse the repository at this point in the history
  • Loading branch information
outofcoffee committed Jul 16, 2024
1 parent f954595 commit eb8dd5a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 19 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ jobs:
'./mock/hbase/build/libs/imposter-plugin-mock-hbase.jar',
'./mock/sfdc/build/libs/imposter-plugin-mock-sfdc.jar',
'./mock/wiremock/build/libs/imposter-plugin-wiremock.jar',
'./scripting/graalvm/build/distributions/imposter-plugin-js-graal.zip',
'./scripting/nashorn/build/distributions/imposter-plugin-js-nashorn.jar',
'./store/dynamodb/build/libs/imposter-plugin-store-dynamodb.jar',
'./store/graphql/build/libs/imposter-plugin-store-graphql.jar',
'./store/redis/build/libs/imposter-plugin-store-redis.jar',
Expand Down
22 changes: 4 additions & 18 deletions scripting/graalvm/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ dependencies {
implementation project(':core:imposter-engine')
implementation project(':scripting:scripting-common')

pluginImplementation "org.graalvm.js:js:$version_graal"
pluginImplementation "org.graalvm.truffle:truffle-api:$version_graal"
pluginImplementation "org.graalvm.js:js-scriptengine:$version_graal"
implementation "org.graalvm.js:js:$version_graal"
implementation "org.graalvm.truffle:truffle-api:$version_graal"
implementation "org.graalvm.js:js-scriptengine:$version_graal"

// store proxy
pluginImplementation project(':store:store-common')
implementation project(':store:store-common')

// test
testImplementation project(':test:test-utils')
Expand Down Expand Up @@ -74,17 +74,3 @@ compileTestKotlin {
freeCompilerArgs = ["-Xjvm-default=all"]
}
}

task buildZip(type: Zip) {
archiveName('imposter-plugin-js-graal.zip')
from compileJava
from processResources
into('lib') {
from(jar)
from(project.configurations.pluginImplementation)
}
}

task dist {
dependsOn buildZip
}

0 comments on commit eb8dd5a

Please sign in to comment.