This repository has been archived by the owner on Mar 14, 2024. It is now read-only.
forked from gluonhq/ignite
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
91 lines (70 loc) · 1.96 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
plugins {
id 'java'
id 'application'
id 'org.openjfx.javafxplugin' version '0.0.9'
id "com.github.hierynomus.license" version "0.15.0"
id "io.micronaut.application" version '1.0.5'
id "maven"
}
group = 'com.gluonhq'
version = '1.2.3-SNAPSHOT'
repositories {
mavenCentral()
jcenter()
}
apply from: 'gradle/codeQuality.gradle'
sourceCompatibility = JavaVersion.VERSION_11
application {
// mainClass = "com.gluonhq.ignite.samples.DaggerApp"
// mainClass = "com.gluonhq.ignite.samples.GuiceApp"
// mainClass = "com.gluonhq.ignite.samples.SpringApp"
mainClass = "com.gluonhq.ignite.micronaut.FXApplication"
// mainClass = "com.gluonhq.ignite.samples.MicronautContextApp"
}
micronaut {
version = "2.1.3"
}
javafx {
version = "15"
modules = [ 'javafx.controls', 'javafx.fxml' ]
}
subprojects {
apply plugin: 'java'
apply plugin: 'maven'
apply plugin: 'org.openjfx.javafxplugin'
apply from: '../gradle/codeQuality.gradle'
apply from: '../gradle/mavenPublish.gradle'
sourceCompatibility = JavaVersion.VERSION_11
group 'com.gluonhq'
version = rootProject.version
archivesBaseName = 'ignite-' + name
javafx {
version = "15"
modules = [ 'javafx.controls', 'javafx.fxml' ]
}
configurations {
published
}
task sourcesJar(type: Jar) {
from sourceSets.main.allSource
classifier = 'sources'
}
task javadocJar(type: Jar, dependsOn: javadoc) {
from javadoc.destinationDir
classifier = 'javadoc'
}
artifacts {
archives sourcesJar, javadocJar
}
}
dependencies {
/// for micronaut sample
implementation("io.micronaut:micronaut-runtime")
// to compile sample DaggerModule
annotationProcessor 'com.squareup.dagger:dagger-compiler:1.2.5'
compile project(':dagger')
compile project(':guice')
compile project(':spring')
compile project(':micronaut')
compile project(':common')
}