Skip to content

[CHORE] Remove spotless JDK-17 checks and fix the SponsorTest #152

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 0 additions & 12 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -32,18 +32,6 @@ subprojects {
spotless {
val javaVersion = JavaVersion.current()

if (javaVersion >= JavaVersion.VERSION_17) {
logger.warn("!!! WARNING !!!")
logger.warn("=================")
logger.warn(
" You are running Java version:[{}]. Spotless may not work well with JDK 17.",
javaVersion
)
logger.warn(
" In IntelliJ, go to [File -> Build -> Execution, Build, Deployment -> Gradle] and check Gradle JVM"
)
}

if (javaVersion < JavaVersion.VERSION_11) {
throw GradleException("Java 11 or greater is required for spotless Gradle plugin.")
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class SponsorTest {
private val stellar = wallet.stellar()
private val account = wallet.stellar().account()
private val sponsoringKey =
SigningKeyPair.fromSecret("SAHXRL7XY2RMUETMIRORXSQ7JJ73FOOF4OMLDSCJW22HRPMULKY4M7KP")
SigningKeyPair.fromSecret("SBHTWEF5U7FK53FLGDMBQYGXRUJ24VBM3M6VDXCHRIGCRG3Z64PH45LW")

@Test @Order(0) fun testSponsorNewAccount(): Unit = runBlocking { createAccount() }

Expand Down