Skip to content

Commit

Permalink
Merge pull request #282 from lisa-analyzer/beta8-prerelease
Browse files Browse the repository at this point in the history
Beta8 roundup
  • Loading branch information
lucaneg committed Apr 20, 2023
2 parents 99aa72a + d0578da commit 581382b
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 18 deletions.
4 changes: 2 additions & 2 deletions lisa/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ buildscript {
classpath 'org.ajoberstar.grgit:grgit-core:4.1.1'
classpath 'org.ajoberstar.grgit:grgit-gradle:4.1.1'

classpath 'com.diffplug.spotless:spotless-plugin-gradle:6.2.1'
classpath 'com.diffplug.spotless:spotless-plugin-gradle:6.18.0'
}
}

Expand All @@ -72,4 +72,4 @@ subprojects {
apply from: "${project.rootDir}/code-style.gradle"
apply from: "${project.rootDir}/java.gradle"
apply from: "${project.rootDir}/publishing.gradle"
}
}
16 changes: 7 additions & 9 deletions lisa/code-style.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,13 @@ spotless {

// use the eclipse formatting with the one provided with the project
eclipse().configFile(new File(rootProject.projectDir, 'spotless-formatting.xml'))


target 'src/**/*.java'
// ignore generated code
target project.fileTree(project.projectDir) {
include '**/*.java'
exclude '**/build/generated/**'
exclude '**/build/generated-src/**'
exclude '**/target/generated-sources/**'
exclude '**/VersionInfo.java'
}
targetExclude '**/build/generated/**/*.java'
targetExclude '**/build/generated-src/**/*.java'
targetExclude '**/target/generated-sources/**/*.java'
targetExclude '**/VersionInfo.java'
}
antlr4 {
target 'src/*/antlr/**/*.g4'
Expand Down Expand Up @@ -83,4 +81,4 @@ tasks.register('checkCodeStyle') {
group = 'verification'
description = 'Execute spotless and checkstyle to ensure code and javadoc formatting'
dependsOn 'spotlessCheck', 'checkstyleMain', 'checkstyleTest'
}
}
2 changes: 1 addition & 1 deletion lisa/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# project properties
group = 'it.unive'
version = 0.1b7
version = 0.1b8

# gradle build properties
org.gradle.caching=true
Expand Down
2 changes: 1 addition & 1 deletion lisa/gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.0.2-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
10 changes: 5 additions & 5 deletions lisa/gradlew
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/sh

#
# Copyright © 2015-2021 the original authors.
# Copyright © 2015-2021 the original authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -32,10 +32,10 @@
# Busybox and similar reduced shells will NOT work, because this script
# requires all of these POSIX shell features:
# * functions;
# * expansions «$var», «${var}», «${var:-default}», «${var+SET}»,
# «${var#prefix}», «${var%suffix}», and «$( cmd )»;
# * compound commands having a testable exit status, especially «case»;
# * various built-in commands including «command», «set», and «ulimit».
# * expansions «$var», «${var}», «${var:-default}», «${var+SET}»,
# «${var#prefix}», «${var%suffix}», and «$( cmd )»;
# * compound commands having a testable exit status, especially «case»;
# * various built-in commands including «command», «set», and «ulimit».
#
# Important for patching:
#
Expand Down
2 changes: 2 additions & 0 deletions lisa/lisa-sdk/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,5 @@ tasks.register('generateVersionInfo', Copy) {
}

compileJava.dependsOn generateVersionInfo
sourcesJar.dependsOn generateVersionInfo

0 comments on commit 581382b

Please sign in to comment.