diff options
Diffstat (limited to 'spec/integration/java/gradle_spec.rb')
| -rw-r--r-- | spec/integration/java/gradle_spec.rb | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/spec/integration/java/gradle_spec.rb b/spec/integration/java/gradle_spec.rb index f9e7bcc..ddde21c 100644 --- a/spec/integration/java/gradle_spec.rb +++ b/spec/integration/java/gradle_spec.rb @@ -58,21 +58,7 @@ plugins { ].each do |gradle_version| %w{8 11}.each do |java_version| context "when scanning a gradle (v#{gradle_version}) project that uses a kotlin build script" do - let(:build_file_content) do - <<~KOTLIN -plugins { - `java-library` -} -repositories { - jcenter() -} -dependencies { - api("org.apache.commons:commons-math3:3.6.1") - implementation("com.google.guava:guava:28.1-jre") - testImplementation("junit:junit:4.12") -} - KOTLIN - end + let(:build_file_content) { fixture_file_content("build.gradle.kts") } it 'scans a gradle project' do runner.add_file('build.gradle.kts', build_file_content) |
