You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to build a project that recursively depends on a happy generated parser, and the eta-gradle plugin cannot build it. To get a repro:
1. git clone https://github.com/typelead/eta-init
2. cd eta-init
3. ./gradlew run
So far so good.
The problem occurs when we add a dependency. Update the build.gradle file to have
plugins {
id 'com.typelead.eta' version '0.8.0'
id 'application'
}
eta {
version = '0.8.6b3'
etlasVersion = '1.5.0.0'
}
dependencies {
compile eta('base:4.11.1.0', 'haskell-src-meta')
}
Then run ./graldew run again and you'll get an error
etlas: The following packages in the elaborated install plan are missing from
the installed package index:
[UnitId
"happy-1.19.9-fdfb0185a1ceb9bb00d148abaecb51932cb9101ae15fe8612f4955a82c3adacf"]
Notably, a folder with that name appears in my .etlas/store/eta-0.8.6.3, but it does not get mentioned in .etlas/store/eta-0.8.6.3/package.db. Seems suspicious. For what it's worth, same thing happens with dependencies on alex.
This issue is preventing me from using gradle, which is not great.
Workaround for now is to have a make file that does all the etlas, javac, proguard stuff myself.
The text was updated successfully, but these errors were encountered:
Excellent, glad you can repro. I don't have any critical timeline issues here. I have a workaround make file which will keep me unblocked for now. Thanks for the quick response!
I'm trying to build a project that recursively depends on a happy generated parser, and the eta-gradle plugin cannot build it. To get a repro:
So far so good.
The problem occurs when we add a dependency. Update the build.gradle file to have
Then run
./graldew run
again and you'll get an errorNotably, a folder with that name appears in my .etlas/store/eta-0.8.6.3, but it does not get mentioned in .etlas/store/eta-0.8.6.3/package.db. Seems suspicious. For what it's worth, same thing happens with dependencies on alex.
This issue is preventing me from using gradle, which is not great.
Workaround for now is to have a make file that does all the etlas, javac, proguard stuff myself.
The text was updated successfully, but these errors were encountered: