-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'runtime-fix' into 'dev'
Test up-to-date-checks, Future-Port Reporting See merge request monticore/monticore!1043
- Loading branch information
Showing
19 changed files
with
958 additions
and
115 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<!-- (c) https://github.com/MontiCore/monticore --> | ||
|
||
This subproject contains fixes from the current monticore-runtime snapshot, | ||
which are also required in the currently used, last stable, monticore-runtime. | ||
These "future-ports" are required due to us using the latest se-commons snapshot with the last stable runtime. | ||
|
||
The following changes are included: | ||
* Adapt reporting to be based on LogHooks (shipped with runtime 7.7.0) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
/* (c) https://github.com/MontiCore/monticore */ | ||
plugins { | ||
id "java-library" | ||
id "maven-publish" | ||
} | ||
group = "de.monticore" | ||
|
||
dependencies { | ||
// Use the previous monticore runtime | ||
implementation "de.monticore:monticore-runtime:$previous_mc_version" | ||
// but the current se-commons | ||
implementation 'de.se_rwth.commons:se-commons-logging:' + se_commons_version | ||
// Due to this, some fixes are required - see src/main/java | ||
} | ||
|
||
repositories { | ||
if (("true").equals(getProperty('useLocalRepo'))) { | ||
mavenLocal() | ||
} | ||
maven { | ||
url repo | ||
} | ||
mavenCentral() | ||
} | ||
|
||
tasks.withType(JavaCompile) { | ||
sourceCompatibility = JavaVersion.VERSION_11 | ||
targetCompatibility = JavaVersion.VERSION_11 | ||
options.encoding = "UTF-8" | ||
options.deprecation false | ||
options.warnings = false | ||
} | ||
java { | ||
withSourcesJar() | ||
toolchain { | ||
languageVersion = JavaLanguageVersion.of(11) | ||
} | ||
} | ||
|
||
publishing { | ||
publications { | ||
maven(MavenPublication) { | ||
groupId = project.group | ||
artifactId = 'monticore-previous-runtime-fix' | ||
version = project.version | ||
from components.java | ||
} | ||
} | ||
repositories.maven { | ||
credentials.username mavenUser | ||
credentials.password mavenPassword | ||
def releasesRepoUrl = "https://nexus.se.rwth-aachen.de/content/repositories/monticore-releases/" | ||
def snapshotsRepoUrl = "https://nexus.se.rwth-aachen.de/content/repositories/monticore-snapshots/" | ||
url = version.endsWith('SNAPSHOT') ? snapshotsRepoUrl : releasesRepoUrl | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.