Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/codicis/asn1-gradle-plugin
Gradle plugin base on Java ASN.1 BER and DER encoding/decoding library (ASN1bean)
https://github.com/codicis/asn1-gradle-plugin
asn1 compiler gradle java plugin
Last synced: 6 days ago
JSON representation
Gradle plugin base on Java ASN.1 BER and DER encoding/decoding library (ASN1bean)
- Host: GitHub
- URL: https://github.com/codicis/asn1-gradle-plugin
- Owner: codicis
- License: apache-2.0
- Created: 2024-10-17T19:08:23.000Z (21 days ago)
- Default Branch: main
- Last Pushed: 2024-10-22T08:26:40.000Z (16 days ago)
- Last Synced: 2024-10-23T12:07:23.230Z (15 days ago)
- Topics: asn1, compiler, gradle, java, plugin
- Homepage:
- Size: 56.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ASN.1 Gradle Compiler Plugin
Gradle plugin base on Java ASN.1 BER and DER encoding/decodingUsing the plugins DSL:
```
plugins {
id("com.github.codicis.asn1.compiler") version "0.1"
}
````Configure the plugin using the "asn1" extension like this:
````
asn1 {
// Set asn1bean compiler version properties here...
version = "1.14.0"
}
````Configure the asn1Compile task like this:
````
tasks {
asn1Compile {
packageName = "com.github.codicis.pulse.data.gsma"
files = listOf(
project.layout.projectDirectory.file("src/main/resources/example1.asn"),
project.layout.projectDirectory.file("src/main/resources/example2.asn")
)
}
compileJava {
dependsOn(asn1Compile)
}
}
````### Additional Links
For further reference, please consider the following sections:
* [ASN1bean Overview](https://www.beanit.com/asn1/)
* [ASN1bean on GitHub](https://github.com/beanit/asn1bean)