BAEL-4516: Fixed formatting for sources
This commit is contained in:
parent
92d27d3876
commit
10c8ff7a83
@ -5,11 +5,11 @@ plugins{
|
|||||||
description = "Gradle 5 root project"
|
description = "Gradle 5 root project"
|
||||||
allprojects {
|
allprojects {
|
||||||
apply plugin :"java"
|
apply plugin :"java"
|
||||||
// apply plugin :"nebula.lint"
|
apply plugin :"nebula.lint"
|
||||||
// gradleLint {
|
gradleLint {
|
||||||
// rules=['unused-dependency']
|
rules=['unused-dependency']
|
||||||
// reportFormat = 'text'
|
reportFormat = 'text'
|
||||||
// }
|
}
|
||||||
group = "com.baeldung"
|
group = "com.baeldung"
|
||||||
version = "0.0.1"
|
version = "0.0.1"
|
||||||
sourceCompatibility = "1.8"
|
sourceCompatibility = "1.8"
|
||||||
|
@ -2,4 +2,4 @@ distributionBase=GRADLE_USER_HOME
|
|||||||
distributionPath=wrapper/dists
|
distributionPath=wrapper/dists
|
||||||
zipStoreBase=GRADLE_USER_HOME
|
zipStoreBase=GRADLE_USER_HOME
|
||||||
zipStorePath=wrapper/dists
|
zipStorePath=wrapper/dists
|
||||||
distributionUrl=https\://services.gradle.org/distributions/gradle-6.1.1-bin.zip
|
distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.4-bin.zip
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
|
|
||||||
// apply plugin: "eclipse"
|
apply plugin: "eclipse"
|
||||||
apply plugin: "java"
|
apply plugin: "java"
|
||||||
|
|
||||||
description = "Source Sets example"
|
description = "Source Sets example"
|
||||||
@ -60,9 +60,8 @@ configurations {
|
|||||||
itestRuntimeOnly.extendsFrom(testRuntimeOnly)
|
itestRuntimeOnly.extendsFrom(testRuntimeOnly)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
eclipse {
|
||||||
// eclipse {
|
classpath {
|
||||||
// classpath {
|
plusConfigurations+=[configurations.itestCompileClasspath]
|
||||||
// plusConfigurations+=[configurations.itestCompileClasspath]
|
}
|
||||||
// }
|
}
|
||||||
// }
|
|
@ -13,7 +13,7 @@ import com.google.common.collect.ImmutableList;
|
|||||||
public class SourceSetsItest {
|
public class SourceSetsItest {
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void whenRunThenSuccess() {
|
public void whenRun_ThenSuccess() {
|
||||||
|
|
||||||
SourceSetsObject underTest = new SourceSetsObject("lorem", "ipsum");
|
SourceSetsObject underTest = new SourceSetsObject("lorem", "ipsum");
|
||||||
|
|
||||||
@ -22,7 +22,7 @@ public class SourceSetsItest {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void givenImmutableListwhenRunThenSuccess() {
|
public void givenImmutableList_whenRun_ThenSuccess() {
|
||||||
|
|
||||||
List<String> someStrings = ImmutableList.of("Baeldung", "is", "cool");
|
List<String> someStrings = ImmutableList.of("Baeldung", "is", "cool");
|
||||||
|
|
||||||
|
@ -10,7 +10,7 @@ import com.baeldung.main.SourceSetsObject;
|
|||||||
public class SourceSetsTest {
|
public class SourceSetsTest {
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void whenRunThenSuccess() {
|
public void whenRun_ThenSuccess() {
|
||||||
|
|
||||||
SourceSetsObject underTest = new SourceSetsObject("lorem", "ipsum");
|
SourceSetsObject underTest = new SourceSetsObject("lorem", "ipsum");
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user