<commit_before>ubuntu-packager-plugin
======================

A basic Ubuntu/Debian packager plugin for [Gradle](http://gradle.org).
It has some quirks but it should be possible to use it to create packages.

Restriction
-----------

This plugin may only be used to build architecture independent packages, such as packages containing compiled Java code.

Example Project
---------------

The below examples come from the example project [helloworld-example](https://github.com/sgo/helloworld-example)

build.gradle example
--------------------

    buildscript {
        repositories {
            mavenRepo urls:'http://yourrepository.com'
        }
        dependencies {
            classpath "be.thinkerit.gradle:ubuntu-packager-plugin:0.1"
        }
    }
        
    apply plugin:'ubuntu'
    
    version = '0.1'
    
    ubuntu {
        archive = new File("helloworld.tar.gz").toURI()
        releaseNotes = "Example for the ubuntu packager plugin"
        author = 'me'
        email = '<EMAIL>'
        homepage = 'http://example.org'
        depends {
            // uncomment to add dependencies to be installed
            // on 'mysql-server'
            // on 'jetty'
        }
        dirs {
            // you can add as many dir statements as you need
            dir '/usr/share/helloworld/bin'
        }
    
    }
<commit_msg>updated readme to reflect availability in maven central<commit_after>ubuntu-packager-plugin
======================

A basic Ubuntu/Debian packager plugin for [Gradle](http://gradle.org).
It has some quirks but it should be possible to use it to create packages.

Note: the plugin is available in maven central so you can start using it right away.

Restriction
-----------

This plugin may only be used to build architecture independent packages, such as packages containing compiled Java code.

Example Project
---------------

The below examples come from the example project [helloworld-example](https://github.com/sgo/helloworld-example)

build.gradle example
--------------------

    buildscript {
        repositories {
            mavenCentral()
        }
        dependencies {
            classpath "be.thinkerit.gradle:ubuntu-packager-plugin:0.3"
        }
    }
        
    apply plugin:'ubuntu'
    
    version = '0.1'
    
    ubuntu {
        archive = new File("helloworld.tar.gz").toURI()
        releaseNotes = "Example for the ubuntu packager plugin"
        author = 'me'
        email = '<EMAIL>'
        homepage = 'http://example.org'
        depends {
            // uncomment to add dependencies to be installed
            // on 'mysql-server'
            // on 'jetty'
        }
        dirs {
            // you can add as many dir statements as you need
            dir '/usr/share/helloworld/bin'
        }
    
    }

Note: if you do not want to add a build script dependency you can add the sources to buildSrc instead.
See the gradle documentation on [custom plugins](http://www.gradle.org/docs/current/userguide/custom_plugins.html).

{'fraction_non_alphanumeric': 0.12450331125827814, 'fraction_numerical': 0.0026490066225165563, 'mean_word_length': 2.0300902708124373, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 2, 'lorem ipsum': 0, 'www.': 1, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5462253', 'n_tokens_mistral': 836, 'n_tokens_neox': 787, 'n_words': 265}