Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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)

Awesome Lists containing this project

README

        

# ASN.1 Gradle Compiler Plugin
Gradle plugin base on Java ASN.1 BER and DER encoding/decoding

Using 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)