-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #20 from cjstehno/development
Version and documentation update.
- Loading branch information
Showing
22 changed files
with
560 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
language: java | ||
install: true | ||
jdk: oraclejdk8 | ||
env: | ||
matrix: | ||
- TERM=dumb | ||
before_script: | ||
- ./gradlew --version | ||
script: ./gradlew build | ||
after_success: | ||
- ./gradlew jacocoTestReport coveralls |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
#Sat Sep 17 06:59:08 CDT 2016 | ||
#Wed Mar 15 09:48:11 CDT 2017 | ||
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-2.14-all.zip | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-3.4.1-all.zip |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
buildscript { | ||
repositories { | ||
jcenter() | ||
} | ||
|
||
dependencies { | ||
classpath 'org.ajoberstar:gradle-git:1.0.0' | ||
} | ||
} | ||
|
||
apply plugin: 'org.ajoberstar.github-pages' | ||
|
||
githubPages { | ||
repoUri = 'git@github.com:cjstehno/gradle-natives' | ||
pages { | ||
from(file('build/site')) { | ||
into '.' | ||
} | ||
} | ||
} |
2 changes: 1 addition & 1 deletion
2
src/main/groovy/com/stehno/gradle/natives/IncludeNativesTask.groovy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
src/main/groovy/com/stehno/gradle/natives/ListNativesTask.groovy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
src/main/groovy/com/stehno/gradle/natives/NativeLibResolver.groovy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
src/main/groovy/com/stehno/gradle/natives/ext/LibraryFilter.groovy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
src/main/groovy/com/stehno/gradle/natives/ext/NativesExtension.groovy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
src/main/resources/META-INF/gradle-plugins/com.stehno.natives.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
<!doctype html> | ||
<html> | ||
<head> | ||
<meta charset="utf-8"> | ||
<meta http-equiv="X-UA-Compatible" content="chrome=1"> | ||
<title>Gradle Natives Plugin by cjstehno</title> | ||
|
||
<link rel="stylesheet" href="stylesheets/styles.css"> | ||
<link rel="stylesheet" href="stylesheets/pygment_trac.css"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no"> | ||
<!--[if lt IE 9]> | ||
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script> | ||
<![endif]--> | ||
</head> | ||
<body> | ||
<div class="wrapper"> | ||
<header> | ||
<h1>Gradle Natives Plugin</h1> | ||
<p>Gradle plugin to aid in managing native libraries associated with Java-based projects.</p> | ||
|
||
<p class="view"><a href="https://github.com/cjstehno/gradle-natives">View the Project on GitHub <small>cjstehno/gradle-natives</small></a></p> | ||
|
||
|
||
<ul> | ||
<li><a href="https://github.com/cjstehno/gradle-natives/zipball/master">Download <strong>ZIP File</strong></a></li> | ||
<li><a href="https://github.com/cjstehno/gradle-natives/tarball/master">Download <strong>TAR Ball</strong></a></li> | ||
<li><a href="https://github.com/cjstehno/gradle-natives">View On <strong>GitHub</strong></a></li> | ||
</ul> | ||
</header> | ||
<section> | ||
<h3> | ||
<a name="welcome-to-github-pages" class="anchor" href="#welcome-to-github-pages"><span class="octicon octicon-link"></span></a>Welcome</h3> | ||
|
||
<p>This Gradle plugin fills the native library support gap and provides a simple means of unpacking native libraries provided by your project dependencies into a well-known and usable location. Configuration is simple; just | ||
add the following to your <code>gradle.build</code> file:</p> | ||
|
||
<pre><code> | ||
buildscript { | ||
repositories { | ||
maven { | ||
url "https://plugins.gradle.org/m2/" | ||
} | ||
} | ||
dependencies { | ||
classpath "gradle.plugin.com.stehno:gradle-natives:${project_version}" | ||
} | ||
} | ||
|
||
apply plugin: "com.stehno.natives" | ||
</code></pre> | ||
|
||
Alternately, you can use the new <code>plugins</code> block with Gradle 2.1 (and later): | ||
|
||
<pre><code> | ||
plugins { | ||
id 'com.stehno.natives' version '${project_version}' | ||
} | ||
</code></pre> | ||
|
||
<p>See the <a href="https://github.com/cjstehno/gradle-natives">main project page</a> for more documentation, or you can take a look at the two blog | ||
posts I have written about the project:</p> | ||
|
||
<ul> | ||
<li><a href="http://coffeaelectronica.com/blog/2016/gradle-natives-update.html">Gradle Natives Plugin Update</a></li> | ||
<li><a href="http://coffeaelectronica.com/blog/2014/going-native-with-gradle.html">Going Native with Gradle</a></li> | ||
</ul> | ||
|
||
<h3><a name="support-or-contact" class="anchor" href="#support-or-contact"><span class="octicon octicon-link"></span></a>Support or Contact</h3> | ||
|
||
<p>Having issues or an idea for a new feature, let me know, just create an <a href="https://github.com/cjstehno/gradle-natives/issues">issue</a>.</p> | ||
</section> | ||
<footer> | ||
<p>This project is maintained by <a href="https://github.com/cjstehno">cjstehno</a></p> | ||
<p><small>Hosted on GitHub Pages — Theme by <a href="https://github.com/orderedlist">orderedlist</a></small></p> | ||
</footer> | ||
</div> | ||
<script src="javascripts/scale.fix.js"></script> | ||
|
||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
var metas = document.getElementsByTagName('meta'); | ||
var i; | ||
if (navigator.userAgent.match(/iPhone/i)) { | ||
for (i=0; i<metas.length; i++) { | ||
if (metas[i].name == "viewport") { | ||
metas[i].content = "width=device-width, minimum-scale=1.0, maximum-scale=1.0"; | ||
} | ||
} | ||
document.addEventListener("gesturestart", gestureStart, false); | ||
} | ||
function gestureStart() { | ||
for (i=0; i<metas.length; i++) { | ||
if (metas[i].name == "viewport") { | ||
metas[i].content = "width=device-width, minimum-scale=0.25, maximum-scale=1.6"; | ||
} | ||
} | ||
} |
Oops, something went wrong.