Skip to content

Commit

Permalink
v2
Browse files Browse the repository at this point in the history
  • Loading branch information
martinschneider committed Oct 20, 2018
1 parent 3ea7568 commit 5911df4
Show file tree
Hide file tree
Showing 18 changed files with 630 additions and 895 deletions.
9 changes: 6 additions & 3 deletions core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
</parent>

<artifactId>cucumber-core</artifactId>
<version>4.0.2-SNAPSHOT</version>
<packaging>jar</packaging>
<name>Cucumber-JVM: Core</name>

Expand All @@ -34,8 +33,12 @@
<artifactId>datatable</artifactId>
</dependency>
<dependency>
<groupId>io.leangen.geantyref</groupId>
<artifactId>geantyref</artifactId>
<groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId>
</dependency>
<dependency>
<groupId>org.yaml</groupId>
<artifactId>snakeyaml</artifactId>
</dependency>
<dependency>
<groupId>junit</groupId>
Expand Down
18 changes: 18 additions & 0 deletions core/src/main/java/cucumber/api/CucumberConfiguration.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
package cucumber.api;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE})
public @interface CucumberConfiguration {
Type type() default Type.YAML;

String path();

public enum Type {
YAML, JSON, PROPERTIES, ANNOTATION;
}
}
19 changes: 0 additions & 19 deletions core/src/main/java/cucumber/api/CucumberOptionsProvider.java

This file was deleted.

This file was deleted.

7 changes: 7 additions & 0 deletions core/src/main/java/cucumber/runtime/ConfigurationParser.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
package cucumber.runtime;

import java.util.Map;

public interface ConfigurationParser {
public Map<String, ?> getMap();
}

This file was deleted.

Loading

0 comments on commit 5911df4

Please sign in to comment.