Skip to content

Commit

Permalink
Remove JDK checks for spotless and fix the SponsorTest (#152)
Browse files Browse the repository at this point in the history
  • Loading branch information
lijamie98 authored Nov 5, 2024
1 parent e4a6759 commit 9d30216
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 13 deletions.
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

0 comments on commit 9d30216

Please sign in to comment.