Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ out/
build/
.gradle/
/.idea/
local.properties
124 changes: 105 additions & 19 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

50 changes: 26 additions & 24 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@

plugins {
id 'org.jetbrains.kotlin.jvm' version '1.9.22'
id 'org.jetbrains.kotlin.jvm' version '2.1.20'
id 'java-gradle-plugin'
id "com.gradle.plugin-publish" version '1.2.1'
id("maven-publish")
}

group 'sleepsci.analytics'
version '0.9.2'

repositories {
jcenter()
}
Expand All @@ -16,38 +13,43 @@ dependencies {
compileOnly gradleApi()

// Kotlin
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.9.22"
implementation "com.squareup:kotlinpoet:1.0.0-RC1"

// JSON Parsing
implementation "com.google.code.gson:gson:2.8.2"
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:2.1.20"
implementation "com.squareup:kotlinpoet:2.1.0"
}

gradlePlugin {
plugins {
eventsGenerator {
id = 'com.sleepsci.eventsdroid'
implementationClass = 'com.betterme.eventsdroid.EventsGeneratorPlugin'
id = 'com.appsci.words.eventsdroid'
implementationClass = 'com.appsci.words.eventsdroid.EventsGeneratorPlugin'
}
}
}

gradlePlugin {
description = 'Plugin which allows automatic analytics events generation based on the given schema'
website = 'https://github.com/AppSci/Eventsdroid'
vcsUrl = 'https://github.com/AppSci/Eventsdroid'

plugins {

eventsGenerator {
tags = ['analytics', 'events', 'codegen', 'generation']
displayName = 'eventsDroid'
version = '0.9.2'
description = "events generator plugin"
Properties properties = new Properties()
properties.load(project.rootProject.file('local.properties').newDataInputStream())

group = "com.appsci.words"
version = "1.0.0-alpha11"

publishing {
repositories {
maven {
name = "GitHubPackages"
url = uri("https://maven.pkg.github.com/Promova/Eventsdroid")
credentials {
username = properties["github.actor"] as String
password = properties["github.token"] as String
}
}
}
}

java {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}

compileKotlin {
kotlinOptions.jvmTarget = "17"
}
Expand Down
8 changes: 0 additions & 8 deletions local.properties

This file was deleted.

2 changes: 1 addition & 1 deletion settings.gradle
Original file line number Diff line number Diff line change
@@ -1 +1 @@
rootProject.name = 'com.betterme.eventsdroid'
rootProject.name = 'eventsdroid'
Loading