You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
524 B
24 lines
524 B
apply plugin: 'java'
|
|
apply plugin: 'application'
|
|
|
|
sourceCompatibility = 11
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
|
|
dependencies {
|
|
implementation project(':Triangle.AbstractMachine')
|
|
// Task 2
|
|
implementation group: 'com.github.spullara.cli-parser', name: 'cli-parser', version: '1.1.5'
|
|
//
|
|
testImplementation group: 'junit', name: 'junit', version: '4.13.2'
|
|
}
|
|
|
|
application {
|
|
mainClass = 'Triangle.Compiler'
|
|
}
|
|
|
|
// allow access to programs for unit tests
|
|
sourceSets.test.resources.srcDir file("$rootDir/programs")
|
|
|