Skip to content

Commit

Permalink
Reorganize build.gradle
Browse files Browse the repository at this point in the history
  • Loading branch information
lm-sousa committed Oct 16, 2024
1 parent 9933b34 commit 24f3193
Showing 1 changed file with 5 additions and 17 deletions.
22 changes: 5 additions & 17 deletions ClavaWeaver/build.gradle
Original file line number Diff line number Diff line change
@@ -1,20 +1,18 @@
plugins {
id 'distribution'
id 'application' // Executable
id 'java' // Java project
}

// Java project
apply plugin: 'java'

// Executable
apply plugin: 'application'

java {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}

withSourcesJar()
}

application {
mainClass.set("pt.up.fe.specs.clava.weaver.ClavaWeaverLauncher")

// For most input codes this is not necessary, but for the largest example we have tested (LSU-gcc, ~700.000 LoC)
// it needs a large amount of memory
Expand All @@ -32,7 +30,6 @@ repositories {
dependencies {
implementation "junit:junit:4.12"


implementation ":CommonsLangPlus"
implementation ":GsonPlus"
implementation ":jOptions"
Expand Down Expand Up @@ -60,10 +57,6 @@ dependencies {
implementation group: 'com.google.code.gson', name: 'gson', version: '2.4'
}

java {
withSourcesJar()
}

// Project sources
sourceSets {
main {
Expand All @@ -90,10 +83,6 @@ sourceSets {

}

application {
mainClass.set("pt.up.fe.specs.clava.weaver.ClavaWeaverLauncher")
}

// Clava
task clava(type: JavaExec) {
group = "Execution"
Expand All @@ -117,7 +106,6 @@ task clavadoc(type: JavaExec) {
'--exclude',
'_',
'--packages',
// '{"Clava API": ["../ClavaLaraApi/src-lara-clava/clava"], "LARA API": ["../LaraApi/src-lara-base","../LaraApi}/src-lara","../LARAI/src-lara","../LaraExtraApi/src-lara","../ClavaLaraApi/src-lara/clava"], "LARA Common Language API": ["../LaraCommonLanguageApi/src-lara"], "ANTAREX API": ["../AntarexClavaApi/src-lara/clava"]}',
'{\'Clava API\': [\'../ClavaLaraApi/src-lara-clava/clava\'], \'LARA API\': [\'../LaraApi/src-lara-base\',\'../LaraApi}/src-lara\',\'../LARAI/src-lara\',\'../LaraExtraApi/src-lara\',\'../ClavaLaraApi/src-lara/clava\'], \'LARA Common Language API\': [\'../LaraCommonLanguageApi/src-lara\'], \'ANTAREX API\': [\'../AntarexClavaApi/src-lara/clava\']}',
]
}

0 comments on commit 24f3193

Please sign in to comment.