Skip to content

Commit

Permalink
Changed the build to explicitly compile under Java 7 instead of 8 and…
Browse files Browse the repository at this point in the history
… updated the readme - using a minor version change here since it's changing the compiler used. Resolves #8
  • Loading branch information
cjstehno committed Oct 27, 2014
1 parent 25134e7 commit 6e15a71
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ buildscript {
}
dependencies {
classpath 'com.stehno:gradle-natives:0.2'
classpath 'com.stehno:gradle-natives:0.2.1'
}
}
Expand All @@ -28,10 +28,12 @@ Alternately, you can use the new plug definition block in Gradle 2.1 and beyond.

```groovy
plugins {
id 'com.stehno.natives' version '0.2'
id 'com.stehno.natives' version '0.2.1'
}
```

The plugin is compiled on Java 7.

## Usage

To do anything useful with it, you need to configure it using the `natives` extension configuration, for example:
Expand Down
7 changes: 6 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,12 @@ apply plugin:'maven'
apply plugin:'maven-publish'

group='com.stehno'
version=0.2
version='0.2.1'

compileJava {
sourceCompatibility = 7
targetCompatibility = 7
}

repositories {
jcenter()
Expand Down

0 comments on commit 6e15a71

Please sign in to comment.