Skip to content

Commit

Permalink
fix target compatibility config
Browse files Browse the repository at this point in the history
  • Loading branch information
ovx committed Aug 4, 2024
1 parent 27ef006 commit 9317954
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 22 deletions.
22 changes: 2 additions & 20 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,35 +22,17 @@ Maven:
<dependency>
<groupId>org.altcha</groupId>
<artifactId>altcha</artifactId>
<version>1.1.0</version>
<version>1.1.1</version>
</dependency>
```

Gradle:


```
implementation 'org.altcha:altcha:1.1.0'
implementation 'org.altcha:altcha:1.1.1'
```

<!--
To install the ALTCHA Java Library, add the following dependency to your `pom.xml` if you use Maven:
```xml
<dependency>
<groupId>org.altcha</groupId>
<artifactId>altcha</artifactId>
<version>1.0.0</version>
</dependency>
```
Or, if you use Gradle, add the following to your `build.gradle`:
```groovy
implementation 'org.altcha:altcha:1.0.0'
```
-->

## Random Number Generator

By default, this library uses a non-secure random number generator to avoid problems with insufficient noise. To enforce the use of a secure random number generator, set `secureRandomNumber` to `true` in the `ChallengeOptions` when generating a new challenge.
Expand Down
5 changes: 4 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,12 @@ plugins {

group = 'org.altcha'
archivesBaseName = 'altcha'
version = '1.1.0'
version = '1.1.1'

java {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8

withJavadocJar()
withSourcesJar()
}
Expand Down
15 changes: 14 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.altcha</groupId>
<artifactId>altcha</artifactId>
<version>1.1.0</version>
<version>1.1.1</version>
<name>org.altcha.altcha</name>
<description>A library for creating and verifying ALTCHA challenges.</description>
<url>https://github.com/altcha-org/altcha-lib-java</url>
Expand Down Expand Up @@ -40,4 +40,17 @@
<scope>provided</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>
</plugins>
</build>
</project>

0 comments on commit 9317954

Please sign in to comment.