forked from ATL-Research/incremental-class2relational
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
67 lines (55 loc) · 2.14 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
/*
* This file was generated by the Gradle 'init' task.
*
* This generated file contains a sample Java application project to get you started.
* For more details take a look at the 'Building Java & JVM projects' chapter in the Gradle
* User Manual available at https://docs.gradle.org/7.5.1/userguide/building_java_projects.html
*/
plugins {
id 'application'
id "org.xtext.xtend" version '3.0.2'
id 'com.github.johnrengelman.shadow' version '7.1.2'
}
repositories {
// Use Maven Central for resolving dependencies.
mavenCentral()
maven {
url 'https://git.kher.nl/api/v4/projects/124/packages/maven'
}
maven {
url "https://repo1.maven.org/maven2/"
}
maven {
url "https://repo.eclipse.org/content/repositories/atl-releases/"
}
maven {
url "https://maven.pkg.github.com/ATL-Research/*"
credentials {
username = project.findProperty("gpr.user") ?: System.getenv("GITHUB_ACTOR")
password = project.findProperty("gpr.token") ?: System.getenv("GITHUB_TOKEN")
}
}
}
dependencies {
implementation "org.eclipse.xtend:org.eclipse.xtend.lib:2.30.0"
implementation 'fr.eseo.atol:fr.eseo.atol.gen:1.0'
implementation 'io.github.atlresearch:emfmodelfuzzer:+'
implementation 'io.github.atlresearch.ttc2023:solutiondriver:0.5'
}
application {
// Define the main class for the application.
mainClass = 'atol.example.transformation.Run'
}
jar {
manifest {
attributes "Main-Class": application.mainClass
}
}
// The following statement makes the xtend compiler non-incremental, to make sure the .atl file will be recompiled if changed.
// However, this also means that any change in the source folders will result in full xtend (and hence Java) recompilation.
generateXtext.options.incremental = false
// The following like does not seem to be necessary:
//xtext.languages.xtend.fileExtensions += "atl"
// The following setting can be used to replace Java debug info by xtend debug info
// Useful for xtend code, but less useful for ATL code compiled to Java with ATOLGen
//xtext.languages.xtend.debugger.sourceInstaller = "PRIMARY"