Skip to content

Commit

Permalink
fix: gradle throw java.lang.ClassNotFoundException: mock.CatsKarateSi…
Browse files Browse the repository at this point in the history
…mulation issue
  • Loading branch information
xloypaypa committed Jun 6, 2024
1 parent 0b29d20 commit 462c9c6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions examples/gatling/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ sourceSets {
exclude '**/*.java'
exclude '**/*.scala'
}
scala {
srcDirs = ['src/test/java']
}
}
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package mock

import scala.language.postfixOps
import io.gatling.core.Predef._
import io.gatling.http.Predef._

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package mock

import scala.language.postfixOps
import com.intuit.karate.gatling.PreDef._
import io.gatling.core.Predef._
import scala.concurrent.duration._
Expand Down

0 comments on commit 462c9c6

Please sign in to comment.