Skip to content

Commit

Permalink
Use the precomputed coturn values (#103)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sheikah45 authored Jun 4, 2023
1 parent 1a4afa3 commit f5a7832
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
6 changes: 3 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ buildscript {
}
}

tasks.withType(Test) {
// source: https://github.com/mendhak/Gradle-Travis-Colored-Output/blob/master/ColoredOutput.gradle
tasks.withType(Test).configureEach {

String ANSI_BOLD_WHITE = "\u001B[0;1m";
String ANSI_RESET = "\u001B[0m";
Expand Down Expand Up @@ -43,7 +44,7 @@ tasks.withType(Test) {


def nameParts = descriptor.parent.name.split("\\.")
def simpleParentName = nameParts[nameParts.length - 1]
def simpleParentName = nameParts[nameParts.length - 1]

out.println()
out.println(simpleParentName + " > " + descriptor.name + " STANDARD_OUT")
Expand Down Expand Up @@ -77,7 +78,6 @@ tasks.withType(Test) {
out.println("--------------------------------------------------------------------------");
}
}

}

subprojects {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
import lombok.EqualsAndHashCode;
import lombok.ToString;

import java.net.URI;
import java.util.Set;

@Data
@ToString(onlyExplicitlyIncluded = true)
@EqualsAndHashCode(onlyExplicitlyIncluded = true)
Expand All @@ -17,8 +20,9 @@ public class CoturnServer implements ElideEntity {
@EqualsAndHashCode.Include
private String id;
private String region;
private String host;
private Integer port;
private String key;
private Boolean active;
private boolean active;
private Set<URI> urls;
private String username;
private String credential;
private String credentialType;
}

0 comments on commit f5a7832

Please sign in to comment.