Permalink
Switch branches/tags
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
107 lines (82 sloc) 2.79 KB
/*§
===========================================================================
KnapScal - Core
===========================================================================
Copyright (C) 2015-2016 Gianluca Costa
===========================================================================
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
===========================================================================
*/
buildscript {
repositories {
maven {
url 'https://dl.bintray.com/giancosta86/Hephaestus'
}
jcenter()
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.6'
classpath 'info.gianlucacosta.moonlicense:moonlicense-gradle:4.3'
classpath 'info.gianlucacosta.aurora:aurora:6.1'
classpath 'com.github.maiflai:gradle-scalatest:0.12'
}
}
apply plugin: 'scala'
apply plugin: 'maven'
apply plugin: 'com.jfrog.bintray'
apply plugin: 'osgi'
apply plugin: 'com.github.maiflai.scalatest'
apply plugin: 'info.gianlucacosta.moonlicense'
apply plugin: 'info.gianlucacosta.aurora'
group = 'info.gianlucacosta.knapscal'
archivesBaseName = 'knapscal-core'
version = '1.3'
description = 'Scala library for the Knapsack problem'
ext.facebookPage = 'https://www.facebook.com/pages/KnapScal/384118128442058'
dependencies {
generatedCompile 'org.scala-lang:scala-library:2.11.8'
compile 'org.scala-lang:scala-library:2.11.8'
compile 'org.apache.commons:commons-math3:3.5'
testCompile 'org.scalatest:scalatest_2.11:2.2.6'
testRuntime 'org.pegdown:pegdown:1.6.0'
}
aurora {
gitHubUser = 'giancosta86'
author {
name = 'Gianluca Costa'
email = 'gianluca@gianlucacosta.info'
url = 'http://gianlucacosta.info/'
}
bintray {
repo = 'Hephaestus'
licenses = ['Apache-2.0']
labels = [
'Knapsack',
'Scala',
'Java',
'library',
'branch & bound',
'dynamic programming',
'optimization'
]
}
}
moonLicense {
license = apache2
productInfo {
productName = 'KnapScal - Core'
inceptionYear = 2015
copyrightHolder = 'Gianluca Costa'
}
}