mirror of
https://gitee.com/dcren/initializr.git
synced 2025-12-17 09:35:53 +08:00
This commit moves project-based assertions to regular AssertJ Assert classes. `ProjectStructure` is now an assert provider so that it can be used with the standard `assertThat` method. Specialized assertions are provided for the supported build systems as well as text-based content. Closes gh-764
29 lines
433 B
Groovy
29 lines
433 B
Groovy
plugins {
|
|
id 'com.example' version '1.0.0.RELEASE'
|
|
id 'java'
|
|
}
|
|
|
|
group = 'com.example'
|
|
version = '0.0.1-SNAPSHOT'
|
|
sourceCompatibility = '1.8'
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
ext {
|
|
set('acmeVersion', "Brussels.SR2")
|
|
}
|
|
|
|
dependencies {
|
|
implementation 'com.example.acme:library'
|
|
testImplementation 'com.example.acme:library-test'
|
|
}
|
|
|
|
dependencyManagement {
|
|
imports {
|
|
mavenBom "com.example.acme:library-bom:${acmeVersion}"
|
|
}
|
|
}
|
|
|