-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
37 lines (30 loc) · 1.07 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
buildscript {
repositories {
maven { url "https://oss.sonatype.org/content/repositories/snapshots/"}
maven { url "https://oss.sonatype.org/content/repositories/releases/" }
}
dependencies {
classpath 'com.barrybecker4:bb4-gradle:1.9-SNAPSHOT'
}
}
plugins {
id "com.github.maiflai.scalatest" version "0.32" // needed to run scala tests
}
description = '<description of your project>'
group = 'com.barrybecker4'
version = '1.8-SNAPSHOT'
ext {
archivesBaseName = 'bb4-project-template'
mainClass = 'com.barrybecker4.newpackage.HelloWorld'
}
apply from: project.buildscript.classLoader.getResource('bb4.gradle').toURI()
task runHelloWorld(type: JavaExec, dependsOn: classes) {
group = 'application'
mainClass = 'com.barrybecker4.newpackage.HelloWorld'
classpath = sourceSets.main.runtimeClasspath
}
dependencies {
implementation 'com.barrybecker4:bb4-common:1.9-SNAPSHOT'
}
// This allows publishing of this project library to Sonatype
apply from: project.buildscript.classLoader.getResource('bb4-publish.gradle').toURI()